* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.

* sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
	R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
This commit is contained in:
Daniel Jacobowitz 2008-10-15 19:37:36 +00:00
parent 63fb881a04
commit f6e40d3894
3 changed files with 6 additions and 14 deletions

View file

@ -1,3 +1,9 @@
2008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
* sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>

View file

@ -17,12 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
/* Until elf/elf.h in glibc is updated. */
#ifndef STO_MIPS_PLT
# undef DT_MIPS_NUM
# define DT_MIPS_NUM 0x35
#endif
/* Number of extra dynamic section entries for this architecture. By
default there are none. */
#define DT_THISPROCNUM DT_MIPS_NUM

View file

@ -53,14 +53,6 @@
".size\t" __STRING(entry) ", . - " __STRING(entry) "\n\t"
#endif
/* Until elf/elf.h in glibc is updated. */
#ifndef STO_MIPS_PLT
#define STO_MIPS_PLT 0x8
#define R_MIPS_COPY 126
#define R_MIPS_JUMP_SLOT 127
#define DT_MIPS_PLTGOT 0x70000032
#endif
/* A reloc type used for ld.so cmdline arg lookups to reject PLT entries.
This only makes sense on MIPS when using PLTs, so choose the
PLT relocation (not encountered when not using PLTs). */