diff options
author | Alan Modra <amodra@gmail.com> | 2014-11-24 12:41:33 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-11-24 12:56:59 +1030 |
commit | e05fa0bad203f7236cfe374181e1bd72ccbcaa35 (patch) | |
tree | b3b4df2711cbd31ef2d8f596f40ec56f6f80b18d /ld/ld.texinfo | |
parent | 1ae92035c29475c97a0795e3f93f068f8e612f25 (diff) | |
download | gdb-e05fa0bad203f7236cfe374181e1bd72ccbcaa35.zip gdb-e05fa0bad203f7236cfe374181e1bd72ccbcaa35.tar.gz gdb-e05fa0bad203f7236cfe374181e1bd72ccbcaa35.tar.bz2 |
PowerPC64 --plt-align
Alignment of plt stubs was broken, firstly because the option was
being dropped due to the alignment value not being set in the "params"
struct used in elf64-ppc.c, and secondly due to not calculating the
number of alignment boundary crossings correctly.
bfd/
* elf64-ppc.c (plt_stub_pad): Correct.
ld/
* ld.texinfo: Correct --plt-align documentation.
* emultempl/ppc64elf.em (plt_stub_align): Delete. Use and set
params.plt_stub_align instead.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index bb386e4..502582c 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -7052,9 +7052,10 @@ off this feature. @item --plt-align @itemx --no-plt-align Use these options to control whether individual PLT call stubs are -aligned to a 32-byte boundary, or to the specified power of two -boundary when using @code{--plt-align=}. By default PLT call stubs -are packed tightly. +padded so that they don't cross a 32-byte boundary, or to the +specified power of two boundary when using @code{--plt-align=}. Note +that this isn't alignment in the usual sense. By default PLT call +stubs are packed tightly. @cindex PowerPC64 PLT call stub static chain @kindex --plt-static-chain |