mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
586e30940e
This patch updates GNU_PROPERTY_X86_XXX macros for gold: 1. GNU_PROPERTY_X86_UINT32_AND_XXX: A 4-byte unsigned integer property. A bit is set if it is set in all relocatable inputs: #define GNU_PROPERTY_X86_UINT32_AND_LO 0xc0000002 #define GNU_PROPERTY_X86_UINT32_AND_HI 0xc0007fff 2. GNU_PROPERTY_X86_UINT32_OR_XXX: A 4-byte unsigned integer property. A bit is set if it is set in any relocatable inputs: #define GNU_PROPERTY_X86_UINT32_OR_LO 0xc0008000 #define GNU_PROPERTY_X86_UINT32_OR_HI 0xc000ffff 3. GNU_PROPERTY_X86_UINT32_OR_AND_XXX: A 4-byte unsigned integer property. A bit is set if it is set in any relocatable inputs and the property is present in all relocatable inputs: #define GNU_PROPERTY_X86_UINT32_OR_AND_LO 0xc0010000 #define GNU_PROPERTY_X86_UINT32_OR_AND_HI 0xc0017fff 4. GNU_PROPERTY_X86_FEATURE_2_NEEDED, GNU_PROPERTY_X86_FEATURE_2_USED and GNU_PROPERTY_X86_FEATURE_2_XXX bits. GNU_PROPERTY_X86_FEATURE_1_AND is unchanged. GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED are updated to better support targeted processors since GNU_PROPERTY_X86_ISA_1_?86 aren't isn't very useful. A new set of GNU_PROPERTY_X86_ISA_1_XXX bits are defined. The previous GNU_PROPERTY_X86_ISA_1_XXX macros are deprecated and renamed to GNU_PROPERTY_X86_COMPAT_ISA_1_XXX and GNU_PROPERTY_X86_COMPAT_2_ISA_1_XXX. elfcpp/ * elfcpp.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ... (GNU_PROPERTY_X86_COMPAT_ISA_1_USED): This. (GNU_PROPERTY_X86_ISA_1_NEEDED): Renamed to ... (GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED): This. (GNU_PROPERTY_X86_UINT32_AND_LO): New. (GNU_PROPERTY_X86_UINT32_AND_HI): Likewise. (GNU_PROPERTY_X86_UINT32_OR_LO): Likewise. (GNU_PROPERTY_X86_UINT32_OR_HI): Likewise. (GNU_PROPERTY_X86_UINT32_OR_AND_LO): Likewise. (GNU_PROPERTY_X86_UINT32_OR_AND_HI): Likewise. (GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED): New. (GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED): Likewise. (GNU_PROPERTY_X86_FEATURE_1_AND): Updated to (GNU_PROPERTY_X86_UINT32_AND_LO + 0). (GNU_PROPERTY_X86_ISA_1_NEEDED): New. Defined to GNU_PROPERTY_X86_UINT32_OR_LO + 2. (GNU_PROPERTY_X86_FEATURE_2_NEEDED): New. Defined to (GNU_PROPERTY_X86_UINT32_OR_LO + 1). (GNU_PROPERTY_X86_ISA_1_USED): New. Defined to GNU_PROPERTY_X86_UINT32_OR_AND_LO + 2. (GNU_PROPERTY_X86_FEATURE_2_USED): New. Defined to (GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1). gold/ * x86_64.cc (Target_x86_64::Target_x86_64): Initialize feature_2_used_, feature_2_needed_ and object_feature_2_used_. (Target_x86_64::feature_2_used_): New data member. (Target_x86_64::feature_2_needed_): Likewise. (Target_x86_64::object_isa_1_used_): Likewise. (Target_x86_64::record_gnu_property): Support GNU_PROPERTY_X86_COMPAT_ISA_1_USED, GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED, GNU_PROPERTY_X86_COMPAT_2_ISA_1_USED, GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED, GNU_PROPERTY_X86_FEATURE_2_USED and GNU_PROPERTY_X86_FEATURE_2_NEEDED. (Target_x86_64::merge_gnu_properties): Merge FEATURE_2_USED bits. Initialize object_feature_2_used_. (Target_x86_64::do_finalize_gnu_properties): Support GNU_PROPERTY_X86_FEATURE_2_USED and GNU_PROPERTY_X86_FEATURE_2_NEEDED. * testsuite/gnu_property_a.S (GNU_PROPERTY_X86_ISA_1_USED): Set to 0xc0010002. (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. * testsuite/gnu_property_b.S (GNU_PROPERTY_X86_ISA_1_USED): Set to 0xc0010002. (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. * testsuite/gnu_property_c.S (GNU_PROPERTY_X86_ISA_1_USED): Set to 0xc0010002. (GNU_PROPERTY_X86_ISA_1_NEEDED): Set to 0xc0008002. * testsuite/gnu_property_test.sh: Updated.
82 lines
2.5 KiB
Plaintext
82 lines
2.5 KiB
Plaintext
2020-10-13 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* elfcpp.h (GNU_PROPERTY_X86_ISA_1_USED): Renamed to ...
|
||
(GNU_PROPERTY_X86_COMPAT_ISA_1_USED): This.
|
||
(GNU_PROPERTY_X86_ISA_1_NEEDED): Renamed to ...
|
||
(GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED): This.
|
||
(GNU_PROPERTY_X86_UINT32_AND_LO): New.
|
||
(GNU_PROPERTY_X86_UINT32_AND_HI): Likewise.
|
||
(GNU_PROPERTY_X86_UINT32_OR_LO): Likewise.
|
||
(GNU_PROPERTY_X86_UINT32_OR_HI): Likewise.
|
||
(GNU_PROPERTY_X86_UINT32_OR_AND_LO): Likewise.
|
||
(GNU_PROPERTY_X86_UINT32_OR_AND_HI): Likewise.
|
||
(GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED): New.
|
||
(GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED): Likewise.
|
||
(GNU_PROPERTY_X86_FEATURE_1_AND): Updated to
|
||
(GNU_PROPERTY_X86_UINT32_AND_LO + 0).
|
||
(GNU_PROPERTY_X86_ISA_1_NEEDED): New. Defined to
|
||
GNU_PROPERTY_X86_UINT32_OR_LO + 2.
|
||
(GNU_PROPERTY_X86_FEATURE_2_NEEDED): New. Defined to
|
||
(GNU_PROPERTY_X86_UINT32_OR_LO + 1).
|
||
(GNU_PROPERTY_X86_ISA_1_USED): New. Defined to
|
||
GNU_PROPERTY_X86_UINT32_OR_AND_LO + 2.
|
||
(GNU_PROPERTY_X86_FEATURE_2_USED): New. Defined to
|
||
(GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1).
|
||
|
||
2020-09-25 Alan Modra <amodra@gmail.com>
|
||
|
||
* dwarf.h (DW_FIRST_UT, DW_UT, DW_END_UT): Define.
|
||
|
||
2020-08-26 Cooper Qu <cooper.qu@linux.alibaba.com>
|
||
|
||
* elfcpp.h (enum SHT): New enum SHT_CSKY_ATTRIBUTES.
|
||
|
||
2020-07-04 Nick Clifton <nickc@redhat.com>
|
||
|
||
Binutils 2.35 branch created.
|
||
|
||
2020-06-26 Nick Alcock <nick.alcock@oracle.com>
|
||
|
||
* elfcpp_swap.h (bswap_16): Do not assume that presence of
|
||
<byteswap.h> means this is declared. Make static inline, matching
|
||
recent change to libctf, since there is no non-inline definition
|
||
of these functions.
|
||
(bswap_32): Likewise.
|
||
(bswap_64): Likewise.
|
||
|
||
2020-06-18 Fangrui Song <i@maskray.me>
|
||
|
||
PR gold/26039
|
||
* elfcpp.h (enum DF_1): New enum member DF_1_PIE.
|
||
|
||
2020-06-06 Alan Modra <amodra@gmail.com>
|
||
|
||
* powerpc.h: Rename
|
||
R_PPC64_GOT_TLSGD34 to R_PPC64_GOT_TLSGD_PCREL34,
|
||
R_PPC64_GOT_TLSLD34 to R_PPC64_GOT_TLSLD_PCREL34,
|
||
R_PPC64_GOT_TPREL34 to R_PPC64_GOT_TPREL_PCREL34, and
|
||
R_PPC64_GOT_DTPREL34 to R_PPC64_GOT_DTPREL_PCREL34.
|
||
|
||
2020-01-18 Nick Clifton <nickc@redhat.com>
|
||
|
||
Binutils 2.34 branch created.
|
||
|
||
2020-01-01 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2019
|
||
|
||
Copyright (C) 2020 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|