aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-x86.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3af19d5..b6e9363 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-x86.c (_bfd_x86_elf_parse_gnu_properties): Don't mask
+ out the GNU_PROPERTY_X86_UINT32_VALID bit.
+
2018-08-25 H.J. Lu <hongjiu.lu@intel.com>
PR ld/23499
diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index d44ec5a..fc99b28 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -2378,10 +2378,7 @@ _bfd_x86_elf_parse_gnu_properties (bfd *abfd, unsigned int type,
return property_corrupt;
}
prop = _bfd_elf_get_property (abfd, type, datasz);
- /* Mask out GNU_PROPERTY_X86_UINT32_VALID and combine properties
- of the same type. */
- prop->u.number |= (bfd_h_get_32 (abfd, ptr)
- & ~GNU_PROPERTY_X86_UINT32_VALID);
+ prop->u.number |= bfd_h_get_32 (abfd, ptr);
prop->pr_kind = property_number;
return property_number;
}