This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: More stuff in struct bfd_link_info
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 09 Jan 2002 11:57:43 +0000
- Subject: Re: RFC: More stuff in struct bfd_link_info
- References: <Pine.BSF.4.30.0201082051420.11490-100000@dair.pair.com>
Hi Hans-Peter,
> There's a some target-specific cruft in struct bfd_link_info
> (for example "int mpc860c0" and "boolean pei386_auto_import")
> that could go away (or at least not accumulate) if there was
> just a target-specific PTR member, say "PTR target_data".
An excellent suggestion!
> Also, I'd like to move "boolean relax" from ld.h:args_type to
> struct bfd_link_info, so bfd functions can see whether
> relaxation should be done, and perhaps also set it (only) when
> necessary; for example if some presumably costly relaxation only
> needs to be done if certain relocs are present.
Hmm, I don't see why not.
Cheers
Nick