aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-30 20:26:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-30 20:26:38 +0000
commit7ba7c8291adc5ee95b9e5d8715ed3dc747abd024 (patch)
tree4fd53ff820b126d0ec57988aec457d336f1142a1 /sysdeps/powerpc
parent886d5973b793fbb53705db7754ebfb93c1224d26 (diff)
downloadglibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.tar
glibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.tar.gz
glibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.tar.bz2
glibc-7ba7c8291adc5ee95b9e5d8715ed3dc747abd024.zip
Update.
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): Move to RESOLVE protected part of the header. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): Likewise. 2003-01-30 Ulrich Drepper <drepper@redhat.com> * stdio-common/Makefile (tests): Add bug15. (bug15-ENV): Define. * stdio-common/bug15.c: New file.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc32/dl-machine.h16
-rw-r--r--sysdeps/powerpc/powerpc64/dl-machine.h16
2 files changed, 16 insertions, 16 deletions
diff --git a/sysdeps/powerpc/powerpc32/dl-machine.h b/sysdeps/powerpc/powerpc32/dl-machine.h
index 34858e5a4b..88408a4287 100644
--- a/sysdeps/powerpc/powerpc32/dl-machine.h
+++ b/sysdeps/powerpc/powerpc32/dl-machine.h
@@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. PowerPC version.
- Copyright (C) 1995-2000,01,02 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -295,13 +295,6 @@ extern int __elf_machine_runtime_setup (struct link_map *map,
int lazy, int profile);
#define elf_machine_runtime_setup __elf_machine_runtime_setup
-static inline void
-elf_machine_lazy_rel (struct link_map *map,
- Elf32_Addr l_addr, const Elf32_Rela *reloc)
-{
- /* elf_machine_runtime_setup handles this. */
-}
-
/* Change the PLT entry whose reloc is 'reloc' to call the actual routine. */
extern Elf32_Addr __elf_machine_fixup_plt (struct link_map *map,
const Elf32_Rela *reloc,
@@ -411,6 +404,13 @@ elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
*reloc_addr = l_addr + reloc->r_addend;
}
+static inline void
+elf_machine_lazy_rel (struct link_map *map,
+ Elf32_Addr l_addr, const Elf32_Rela *reloc)
+{
+ /* elf_machine_runtime_setup handles this. */
+}
+
/* The SVR4 ABI specifies that the JMPREL relocs must be inside the
DT_RELA table. */
#define ELF_MACHINE_PLTREL_OVERLAP 1
diff --git a/sysdeps/powerpc/powerpc64/dl-machine.h b/sysdeps/powerpc/powerpc64/dl-machine.h
index 408161649b..62e7f22c6b 100644
--- a/sysdeps/powerpc/powerpc64/dl-machine.h
+++ b/sysdeps/powerpc/powerpc64/dl-machine.h
@@ -1,6 +1,6 @@
/* Machine-dependent ELF dynamic relocation inline functions.
PowerPC64 version.
- Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -452,13 +452,6 @@ elf_machine_runtime_setup (struct link_map *map, int lazy, int profile)
return lazy;
}
-static inline void
-elf_machine_lazy_rel (struct link_map *map,
- Elf64_Addr l_addr, const Elf64_Rela *reloc)
-{
- /* elf_machine_runtime_setup handles this. */
-}
-
/* Change the PLT entry whose reloc is 'reloc' to call the actual
routine. */
static inline Elf64_Addr
@@ -747,4 +740,11 @@ elf_machine_rela (struct link_map *map,
MODIFIED_CODE_NOQUEUE (reloc_addr);
}
+static inline void
+elf_machine_lazy_rel (struct link_map *map,
+ Elf64_Addr l_addr, const Elf64_Rela *reloc)
+{
+ /* elf_machine_runtime_setup handles this. */
+}
+
#endif /* RESOLVE */