OSDN Git Service

Joakim Tjernlund writes:
authorEric Andersen <andersen@codepoet.org>
Sat, 19 Jun 2004 21:33:04 +0000 (21:33 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 19 Jun 2004 21:33:04 +0000 (21:33 -0000)
Since MIPS don't have COPY relocs it seems apropiate to define
DL_NO_COPY_RELOCS. This will optimize dl_find_hash somewhat.

ldso/ldso/mips/dl-sysdep.h

index 08e9655..9c4a215 100644 (file)
@@ -51,3 +51,5 @@ unsigned long _dl_linux_resolver(unsigned long sym_index,
 #define OFFS_ALIGN 0x7ffff000
 
 #define elf_machine_type_class(type)           ELF_RTYPE_CLASS_PLT
+/* MIPS does not have COPY relocs */
+#define DL_NO_COPY_RELOCS