summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/dl-sysdep.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-06-19 21:33:04 +0000
committerEric Andersen <andersen@codepoet.org>2004-06-19 21:33:04 +0000
commit2cf407e3273e209d7fe558fe534cec07cffd6579 (patch)
tree0ff67e187c51fb13d43cecb73f5175e80517d83c /ldso/ldso/mips/dl-sysdep.h
parent7f62b02fb2d647768d692285437292e926f04b55 (diff)
Joakim Tjernlund writes:
Since MIPS don't have COPY relocs it seems apropiate to define DL_NO_COPY_RELOCS. This will optimize dl_find_hash somewhat.
Diffstat (limited to 'ldso/ldso/mips/dl-sysdep.h')
-rw-r--r--ldso/ldso/mips/dl-sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/mips/dl-sysdep.h b/ldso/ldso/mips/dl-sysdep.h
index 08e965567..9c4a21580 100644
--- a/ldso/ldso/mips/dl-sysdep.h
+++ b/ldso/ldso/mips/dl-sysdep.h
@@ -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