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 section alignment


Nick:

Sorry for the delay in reply. I was waiting for input from the user.

We have a bug filed against our tool chain. objdump output, including
the spec file, is there. You can have a look at:

  https://dev.eros-os.com/bugzilla/show_bug.cgi?id=59

The tool chain was configure i386-unknown-coyotos, which is a local
configuration. The linker part of that configuration is the same as the
linux arm eabi config, except that the configuration name was changed.
The emulation template apparently needs to be brought up to date, but I
don't see anything jumping out at me in the template that should account
for this.

The puzzle here is to understand why the program headers are getting
that particular alignment requirement.

If it matters, this is a cross compile scenario.

shap


On Fri, 2008-06-06 at 15:58 +0100, Nick Clifton wrote:
> Hi Jonathan,
> 
> > The ELF linker script for ARM aligns program headers at 2**15
> > boundaries.
> 
> Are you sure ?  Can you show me the section of the script ?  And tell me 
> exactly how you configured the toolchain that produced this version of 
> the linker ?
> 
> Cheers
>    Nick


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