diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-21 09:54:04 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-21 23:17:44 +0930 |
commit | ba52cbb9d024f2e51bd50fac36a18a15ab88344c (patch) | |
tree | 7b3471a2d41b79b623c4ead8f3ce8b576eb6a7e2 /gas | |
parent | 1e5b66ed4285ecf063e7801a46178ebb0ce5be41 (diff) | |
download | gdb-ba52cbb9d024f2e51bd50fac36a18a15ab88344c.zip gdb-ba52cbb9d024f2e51bd50fac36a18a15ab88344c.tar.gz gdb-ba52cbb9d024f2e51bd50fac36a18a15ab88344c.tar.bz2 |
Reduce excessive .eh_frame alignment for powerpc
PowerPC64 .cfi directives use DW_EH_PE_sdata4 encoding for .eh_frame,
so there is no real reason why .eh_frame should be 8 byte aligned.
gas/
* config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define.
ld/
* testsuite/ld-powerpc/tlsopt5.wf: Update for reduced alignment.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ppc.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 86cf17e..c5f19ff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2017-09-21 Alan Modra <amodra@gmail.com> + + * config/tc-ppc.h (EH_FRAME_ALIGNMENT): Define. + 2017-09-14 Alan Modra <amodra@gmail.com> PR 22127 diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index f71f2ea..d89bad9 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -325,3 +325,4 @@ extern int ppc_dwarf2_line_min_insn_length; #define DWARF2_LINE_MIN_INSN_LENGTH ppc_dwarf2_line_min_insn_length #define DWARF2_DEFAULT_RETURN_COLUMN 0x41 #define DWARF2_CIE_DATA_ALIGNMENT ppc_cie_data_alignment +#define EH_FRAME_ALIGNMENT 2 |