about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ports/ChangeLog.mips4
-rw-r--r--ports/sysdeps/mips/dl-trampoline.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 8c41753e58..9df62cca02 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,7 @@
+2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/mips/dl-trampoline.c (VERSYMIDX): Likewise.
+
 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/mips/kernel-features.h
diff --git a/ports/sysdeps/mips/dl-trampoline.c b/ports/sysdeps/mips/dl-trampoline.c
index 3454eb306f..e4886cc9bd 100644
--- a/ports/sysdeps/mips/dl-trampoline.c
+++ b/ports/sysdeps/mips/dl-trampoline.c
@@ -112,8 +112,6 @@ elf_machine_runtime_link_map (ElfW(Addr) gpreg, ElfW(Addr) stub_pc)
    generated by the gnu linker. */
 int _dl_mips_gnu_objects = 1;
 
-#define VERSYMIDX(sym)  (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGIDX (sym))
-
 /* This is called from assembly stubs below which the compiler can't see.  */
 static ElfW(Addr)
 __dl_runtime_resolve (ElfW(Word), ElfW(Word), ElfW(Addr), ElfW(Addr))