From 49b9c17cf445af9184508824a703099c5997f7d0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 22 Aug 2014 14:42:39 -0700 Subject: [PATCH] aarch64: Adjust dwarf2 encoding factors * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4. (DWARF2_CIE_DATA_ALIGNMENT): Set to -8. --- gas/ChangeLog | 2 ++ gas/config/tc-aarch64.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index bd007c5c711..c75dfc8c96c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -2,6 +2,8 @@ * config/tc-aarch64.c (tc_aarch64_regname_to_dw2regnum): Fix register number for vector register types. + * config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4. + (DWARF2_CIE_DATA_ALIGNMENT): Set to -8. 2014-08-22 Maciej W. Rozycki diff --git a/gas/config/tc-aarch64.h b/gas/config/tc-aarch64.h index 94a3dc9c339..3d4ffc57c6f 100644 --- a/gas/config/tc-aarch64.h +++ b/gas/config/tc-aarch64.h @@ -145,13 +145,13 @@ struct aarch64_frag_type goto LABEL; \ } -#define DWARF2_LINE_MIN_INSN_LENGTH 2 +#define DWARF2_LINE_MIN_INSN_LENGTH 4 /* The lr register is r30. */ #define DWARF2_DEFAULT_RETURN_COLUMN 30 /* Registers are generally saved at negative offsets to the CFA. */ -#define DWARF2_CIE_DATA_ALIGNMENT (-4) +#define DWARF2_CIE_DATA_ALIGNMENT (-8) extern int aarch64_dwarf2_addr_size (void); #define DWARF2_ADDR_SIZE(bfd) aarch64_dwarf2_addr_size () -- 2.30.2