[PATCH] MIPS/ELF: R_MIPS_max is not a real relocation
Maciej W. Rozycki
macro@mips.com
Fri Feb 11 16:08:00 GMT 2005
More information about the Binutils mailing list
Fri Feb 11 16:08:00 GMT 2005
- Previous message (by thread): hidden dynamic symbols testcase
- Next message (by thread): [PATCH] MIPS/ELF: R_MIPS_max is not a real relocation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, This should be obvious -- R_MIPS_max is only used for range checking and is not a real relocation. Therefore it should be defined using FAKE_RELOC. The change should be innocuous, but I've rebuilt the sources and executed the testsuite for mips64-linux-gnu, mipsel-linux-gnu and mips64el-elf just in case. 2005-02-11 Maciej W. Rozycki <macro@mips.com> * elf/mips.h (R_MIPS_max): Use FAKE_RELOC to define. OK to apply? Maciej binutils-2.15.94-20050202-r_mips_max-0 diff -up --recursive --new-file binutils-2.15.94-20050202.macro/include/elf/mips.h binutils-2.15.94-20050202/include/elf/mips.h --- binutils-2.15.94-20050202.macro/include/elf/mips.h 2004-12-09 06:02:45.000000000 +0000 +++ binutils-2.15.94-20050202/include/elf/mips.h 2005-02-11 14:33:15.000000000 +0000 @@ -72,7 +72,7 @@ START_RELOC_NUMBERS (elf_mips_reloc_type RELOC_NUMBER (R_MIPS_PJUMP, 35) RELOC_NUMBER (R_MIPS_RELGOT, 36) RELOC_NUMBER (R_MIPS_JALR, 37) - RELOC_NUMBER (R_MIPS_max, 38) + FAKE_RELOC (R_MIPS_max, 38) /* These relocs are used for the mips16. */ RELOC_NUMBER (R_MIPS16_26, 100) RELOC_NUMBER (R_MIPS16_GPREL, 101)
- Previous message (by thread): hidden dynamic symbols testcase
- Next message (by thread): [PATCH] MIPS/ELF: R_MIPS_max is not a real relocation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list