[PATCH] MIPS bfd: irix script support
Stan Cox
scox@redhat.com
Fri Aug 2 13:55:00 GMT 2002
irix6 uses the emulparams script elf32bmipn32.sh (see table below).
This script is used for irix6 by inclusion in elf64bmip.sh. This
script is used for linux by inclusion in elf32btsmipn32.sh,
elf32ltsmipn32.sh, elf64btsmip.sh, elf64ltsmip.sh. The intention of
this patch is to get the functionality of elf32bmip.sh, which is
included by: elf32bsmip.sh, elf32btsmip.sh, elf32ltsmip.sh
OUTPUT_FORMAT:
Setting the OUTPUT_FORMAT should be okay as the following will
override it: elf64bmip.sh, elf32btsmipn32.sh, elf64btsmip.sh,
elf64ltsmip.sh, elf32ltsmip.sh.
GENERATE_SHLIB_SCRIPT/SHLIB_TEXT_START_ADDR:
Setting this should be okay for elf64btsmip.sh, which sets them and is
included by elf64ltsmip.sh. I am less sure about elf32btsmipn32.sh
and elf32ltsmip.sh. Any idea why they aren't setting them?
LINKER SCRIPT TABLE:
Script Used By Includes Abi
elf32bmip.sh netbsd old
elf32bmipn32.sh* irix6 new
elf32bsmip.sh irix5 irix6 elf32bmip.sh old
elf32btsmip.sh linux elf32bmip.sh old
elf32btsmipn32.sh 64-linux elf32bmipn32.sh new
elf32ebmip.sh elf elf32bmip.sh old
elf32elmip.sh el-elf elf32lmip.sh old
elf32lmip.sh bsd elf32bmip.sh old
elf32lsmip.sh elf32lmip.sh old
elf32ltsmip.sh linux elf32btsmip.sh old
elf32ltsmipn32.sh 64-linux elf32btsmipn32.sh new
elf64bmip.sh* irix6 elf32bmipn32.sh new
elf64btsmip.sh linux elf32bmipn32.sh new
elf64ltsmip.sh linux elf64btsmip.sh new
mipsbig.sh irix
mipsbsd.sh bsd
mipsidt.sh ecoff
mipsidtl.sh ecoff
mipslit.sh ultrix
mipslnews.sh lnews
mipspe.sh pe
* ld/emulparams/elf32bmipn32.sh (*OUTPUT_FORMAT): Use n32 vectors.
(GENERATE_SHLIB_SCRIPT, SHLIB_TEXT_START_ADDR): Enable shared libraries.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32bmipn32.sh.diff
Type: application/octet-stream
Size: 776 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20020802/2068c881/attachment.obj>
More information about the Binutils
mailing list