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]

Re: Common Symbols and Archives [Patch]


Hi Ian,

> Since this can't be done backward compatibly, and since it would also need
> compiler changes, it seems too much effort compared with the alternative
> of transitioning to ELF.
> 
> In the meantime I would like to at least have backward compatability
> for a.out.  However, the current binutils linker is *not* compatable
> with the NetBSD a.out linker and I would like to propose the following
> patch.  It requires patches to both bfd and ld.
> 
> Here is the bfd/ChangeLog entry:
> 
> 2002-07-26  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
> 
> 	* aoutx.h (aout_link_check_ar_symbols): Whether to include an
> 	archive object is target dependant.
> 
> Here is the ld/ChangeLog entry:
> 
> 2002-07-27  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
> 
> 	* emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
> 	link_info.common_skip_ar_aymbols.
> 	* emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
> 
> 	* ldmain.c (main): Initialize new field
> 	link_info.common_skip_ar_aymbols.

Approved and applied.  I also created a ChangeLog entry for the
modifications to bfdlink.h

Cheers
        Nick

PS. Your FSF copyright assignment is a bit out of date.  (It does not
mention changes to LD for example).  You may wish to fix this.


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