aarch64: Adjust dwarf2 encoding factors
authorRichard Henderson <rth@twiddle.net>
Fri, 22 Aug 2014 21:42:39 +0000 (14:42 -0700)
committerRichard Henderson <rth@twiddle.net>
Fri, 22 Aug 2014 21:42:39 +0000 (14:42 -0700)
* config/tc-aarch64.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 4.
(DWARF2_CIE_DATA_ALIGNMENT): Set to -8.

gas/ChangeLog
gas/config/tc-aarch64.h

index bd007c5c711b00355b84d09c19f86fb106343260..c75dfc8c96c19d728325426c555c502278e8c578 100644 (file)
@@ -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  <macro@codesourcery.com>
 
index 94a3dc9c3390214a0b7899b6053efa226f1ae30f..3d4ffc57c6f7e8b88c70ea0f8c6fc35129587742 100644 (file)
@@ -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 ()