This is the mail archive of the binutils@sourceware.org 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: ARM attribute merging oddity


On Mon, 2009-03-23 at 11:02 +0000, Andrew Stubbs wrote:
> On 20/03/09 18:03, Daniel Jacobowitz wrote:
> > On Fri, Mar 20, 2009 at 09:38:20AM +0000, Andrew Stubbs wrote:
> >> I think any process that messes with attributes for files that are not
> >> being changed is wrong (i.e. one input ->  one output).
> >
> > They are being changed though - they're being linked.
> 
> If there's only one input to the link (i.e. we're using a linker script 
> to mess with sections or addresses, perhaps), then it's reasonable to 
> assume that all the input attributes also apply to the outputs.

Mostly.  However, it might be possible to infer attributes from commmand
line arguments.  For example, specifying a specific CPU would imply the
architecture wanted in the output; adding an object that used a later
architecture would then probably be an error.

R.


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