diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-12-18 04:24:26 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-12-18 04:24:36 -0800 |
commit | 04f8967487515179cc6dfc7c828f77eeb75c08d3 (patch) | |
tree | e94cbcef29d4c243b02807377d5f9a98f2c3808c /ld/ChangeLog | |
parent | 3fafa2e26ed651e3d3a50193b5bbf8f55779c7aa (diff) | |
download | binutils-04f8967487515179cc6dfc7c828f77eeb75c08d3.zip binutils-04f8967487515179cc6dfc7c828f77eeb75c08d3.tar.gz binutils-04f8967487515179cc6dfc7c828f77eeb75c08d3.tar.bz2 |
elf: Copy elf_gnu_osabi_retain only for relocatable link
Copy elf_gnu_osabi_retain from input only for relocatable link since
SHF_GNU_RETAIN has no impact on non-relocatable outputs.
bfd/
PR ld/27091
* elflink.c (elf_link_input_bfd): Copy elf_gnu_osabi_retain
from input only for relocatable link.
ld/
PR ld/27091
* testsuite/ld-elf/retain7.s: New file.
* testsuite/ld-elf/retain7a.d: Likewise.
* testsuite/ld-elf/retain7b.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 34d58d4..392165b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2020-12-18 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/27091 + * testsuite/ld-elf/retain7.s: New file. + * testsuite/ld-elf/retain7a.d: Likewise. + * testsuite/ld-elf/retain7b.d: Likewise. + 2020-12-16 Howard Chu <hyc@symas.com> H.J. Lu <hongjiu.lu@intel.com> |