about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-28 09:42:08 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-28 11:31:18 -0700
commit4ff2d4c2f6926eb1a2e924d2baccc87e72e5470b (patch)
tree410557062a1b9f5ba57eefb8ab0a7de2d4fdfaf3 /ports
parentf8419467bb24483eaa564ecce9b8b316ed90585a (diff)
downloadglibc-4ff2d4c2f6926eb1a2e924d2baccc87e72e5470b.tar.gz
glibc-4ff2d4c2f6926eb1a2e924d2baccc87e72e5470b.tar.xz
glibc-4ff2d4c2f6926eb1a2e924d2baccc87e72e5470b.zip
Remove mips VERSYMIDX macro definition
Diffstat (limited to 'ports')
-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))