This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] MIPS bfd: irix script support


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.

Attachment: elf32bmipn32.sh.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]