diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-10-08 05:14:02 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-10-08 05:14:13 -0700 |
commit | 80f3ac5d61a5d01d7cf951de0e24ecdc71c545cb (patch) | |
tree | c977e604ef6b5a8c3dc7fd5c02b5c92ebbb615b2 /bfd/ChangeLog | |
parent | f3e660db14a0a95f3953496d8beb7c58ef34c6d5 (diff) | |
download | gdb-80f3ac5d61a5d01d7cf951de0e24ecdc71c545cb.zip gdb-80f3ac5d61a5d01d7cf951de0e24ecdc71c545cb.tar.gz gdb-80f3ac5d61a5d01d7cf951de0e24ecdc71c545cb.tar.bz2 |
x86: Don't add GNU_PROPERTY_X86_FEATURE_2_NEEDED for -z separate-code
With
commit 64029e93683a266c38d19789e780f3748bd6a188
Author: Alan Modra <amodra@gmail.com>
Date: Fri Oct 5 11:40:54 2018 +0930
Separate header PT_LOAD for -z separate-code
there is no need to add a GNU_PROPERTY_X86_ISA_1_USED note to force
program header in in non-code PT_LOAD segment when -z separate-code
is used.
bfd/
PR ld/23428
* elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't
add GNU_PROPERTY_X86_FEATURE_2_NEEDED to force program header
in non-code PT_LOAD segment.
ld/
PR ld/23428
* testsuite/ld-i386/property-x86-4a.d: Updated.
* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4a7b4f..86387d8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2018-10-08 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/23428 + * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Don't + add GNU_PROPERTY_X86_FEATURE_2_NEEDED to force program header + in non-code PT_LOAD segment. + 2018-10-08 Alan Modra <amodra@gmail.com> * elf-nacl.c (nacl_modify_segment_map): Cope with header PT_LOAD |