bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22903] [AArch64] Insufficient veneer stub alignment


From: nickc at redhat dot com
Subject: [Bug ld/22903] [AArch64] Insufficient veneer stub alignment
Date: Thu, 01 Mar 2018 10:02:07 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22903

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Jim Wilson from comment #2)
> See the related
>     https://sourceware.org/ml/binutils/2016-06/msg00021.html
> which was never resolved.

Hi Jim,

  I am sorry that that patch was never resolved.  It certainly would have
  fixed this PR.  Do you have a preference for which patch we should use
  to solve this issue ?  I like mine because it does not change the alignment
  of the stub section, so there should be no problems with holes between a
  stub section and a real code section[1].  On the other hand your patch 
  wastes less space as it does not insert nops between stubs, so overall
  the stub sections will be smaller.

  I am happy to go with either solution, so please let me know your thoughts.

Cheers
  Nick

[1]: It seems strange to me that ld/emulparams/aarch64elf.sh sets the NOP
  variable to 0 rather than 0xd503201f.  If it used the latter value then
  spaces between code sections would be filled with nop instructions which
  would make the gap problem go away.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]