diff options
author | James Lemke <jwlemke@codesourcery.com> | 2012-08-01 13:46:59 +0000 |
---|---|---|
committer | James Lemke <jwlemke@codesourcery.com> | 2012-08-01 13:46:59 +0000 |
commit | 8fbf7334deccc8a6f3ce9ec01ae801da781c2d82 (patch) | |
tree | e347fb55e56f3812de8798fee9e6a2a5bcefac5a /gas/config/tc-ppc.h | |
parent | 4f6650997aab7ef82b88b1ca29450002473a0ad2 (diff) | |
download | gdb-8fbf7334deccc8a6f3ce9ec01ae801da781c2d82.zip gdb-8fbf7334deccc8a6f3ce9ec01ae801da781c2d82.tar.gz gdb-8fbf7334deccc8a6f3ce9ec01ae801da781c2d82.tar.bz2 |
gas/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* gas/dwarf2dbg.c (out_set_addr): Allow for non-constant value of
DWARF2_LINE_MIN_INSN_LENGTH
* gas/config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
and initialize.
(md_apply_fix): Branch addr can be a multiple of 2 or 4.
* gas/config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
variable reference.
gas/testsuite/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* gas/cfi/cfi-ppc-1.d: Allow for code alignment of 2 or 4.
ld/ChangeLog:
2012-08-01 James Lemke <jwlemke@codesourcery.com>
* ld/testsuite/ld-gc/pr13683.d: XFAIL for powerpc*-*-eabivle.
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r-- | gas/config/tc-ppc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index eb19017..e053c9c 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -270,6 +270,8 @@ extern int tc_ppc_regname_to_dw2regnum (char *); extern int ppc_cie_data_alignment; -#define DWARF2_LINE_MIN_INSN_LENGTH 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 |