Re: Propagating addresses from linker to the runtie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 18, 2019 at 02:56:03PM +0200, Florian Weimer wrote:
> > You just need to have linker scripts that do not sabotage this :-)
> 
> But it doesn't work on s390x if the section has a size that is not a
> multiple of 2 because all global symbols must have alignment 2 or more
> on that architecture (of course __alignof (symbol) may still say 1
> because *that* has to reflect C semantics).

How does the output section not get enough alignment?  Is that the linker's
fault, or are the command-line flags wrong, or is it the linker script?

Does the *input* section have enough alignment?


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux