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 /ld/testsuite/ld-powerpc | |
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 'ld/testsuite/ld-powerpc')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsopt5.wf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsopt5.wf b/ld/testsuite/ld-powerpc/tlsopt5.wf index 158f650..af8cb76 100644 --- a/ld/testsuite/ld-powerpc/tlsopt5.wf +++ b/ld/testsuite/ld-powerpc/tlsopt5.wf @@ -16,17 +16,13 @@ Contents of the \.eh_frame section: DW_CFA_advance_loc: 16 to .* DW_CFA_restore_extended: r65 -0+2c 0+18 0+30 FDE cie=0+ pc=.* +0+2c 0+14 0+30 FDE cie=0+ pc=.* DW_CFA_advance_loc: 4 to .* DW_CFA_register: r65 in r0 DW_CFA_advance_loc: 28 to .* DW_CFA_restore_extended: r65 - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop -0+48 0+10 0+4c FDE cie=0+ pc=.* +0+44 0+10 0+48 FDE cie=0+ pc=.* DW_CFA_nop DW_CFA_nop DW_CFA_nop |