aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-aarch64.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-08-22 14:42:39 -0700
committerRichard Henderson <rth@twiddle.net>2014-08-22 14:42:39 -0700
commit49b9c17cf445af9184508824a703099c5997f7d0 (patch)
treedb19deb3e4a28a97471558d4fb2fca22b735b12a /gas/config/tc-aarch64.h
parenta2cac51cb03f356e387c44b558aa9b4dfa002130 (diff)
downloadgdb-49b9c17cf445af9184508824a703099c5997f7d0.zip
gdb-49b9c17cf445af9184508824a703099c5997f7d0.tar.gz
gdb-49b9c17cf445af9184508824a703099c5997f7d0.tar.bz2
aarch64: Adjust dwarf2 encoding factors
* config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4. (DWARF2_CIE_DATA_ALIGNMENT): Set to -8.
Diffstat (limited to 'gas/config/tc-aarch64.h')
-rw-r--r--gas/config/tc-aarch64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-aarch64.h b/gas/config/tc-aarch64.h
index 94a3dc9..3d4ffc5 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 ()