This is the mail archive of the 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]

Re: [PATCH] MIPS bfd: irix script support

On Fri, Aug 02, 2002 at 04:56:57PM -0400, Stan Cox wrote:
> irix6 uses the emulparams script (see table below).
> This script is used for irix6 by inclusion in  This
> script is used for linux by inclusion in,
>,,  The intention of
> this patch is to get the functionality of, which is
> included by:,,
> Setting the OUTPUT_FORMAT should be okay as the following will
> override it:,,,
> Setting this should be okay for, which sets them and is
> included by  I am less sure about
> and  Any idea why they aren't setting them?
> Script                  Used By         Includes                Abi
>            netbsd                                  old
>*        irix6                                   new
>           irix5 irix6            old
>          linux             old
>       64-linux         new
>           elf               old
>           el-elf            old
>            bsd               old
>                             old
>          linux           old
>       64-linux       new
>*           irix6          new
>          linux          new
>          linux           new
>              irix
>              bsd
>              ecoff
>             ecoff
>              ultrix
>            lnews
>               pe
>         * ld/emulparams/ (*OUTPUT_FORMAT): Use n32 vectors.
>         (GENERATE_SHLIB_SCRIPT, SHLIB_TEXT_START_ADDR): Enable shared libraries.

This just doesn't look right to me.  In particular, I believe that
Linux will never want that value of SHLIB_TEXT_START_ADDR.  If the same

Why are the same linker scripts being used for targets AND included?  I
think that irix6 ought to have its own file and set
SHLIB_TEXT_START_ADDR there instead.

Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

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