about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-04 13:45:44 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-04 13:45:44 +0000
commit4839f59270a89a56caa4682f9f0a481ed1a39a9b (patch)
tree75eae485edb5e645a9b9a9011ec4b0b8a47e0e40 /sysdeps
parented40d9c0016b30ae08917be563256d714f1510be (diff)
downloadglibc-4839f59270a89a56caa4682f9f0a481ed1a39a9b.tar.gz
glibc-4839f59270a89a56caa4682f9f0a481ed1a39a9b.tar.xz
glibc-4839f59270a89a56caa4682f9f0a481ed1a39a9b.zip
(ELF_MACHINE_NO_REL): Move to right place.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/dl-machine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/powerpc/dl-machine.h b/sysdeps/powerpc/dl-machine.h
index 80db704835..f3f6a138e2 100644
--- a/sysdeps/powerpc/dl-machine.h
+++ b/sysdeps/powerpc/dl-machine.h
@@ -226,6 +226,9 @@ __elf_preferred_address(struct link_map *loader, size_t maplength,
 /* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.  */
 #define ELF_MACHINE_JMP_SLOT	R_PPC_JMP_SLOT
 
+/* The PowerPC never uses REL relocations.  */
+#define ELF_MACHINE_NO_REL 1
+
 /* Set up the loaded object described by L so its unrelocated PLT
    entries will jump to the on-demand fixup code in dl-runtime.c.
    Also install a small trampoline to be used by entries that have
@@ -336,7 +339,6 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
 			    reloc_addr, finaladdr, rinfo);
 }
 
-#define ELF_MACHINE_NO_REL 1
 
 /* The SVR4 ABI specifies that the JMPREL relocs must be inside the
    DT_RELA table.  */