diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-10-27 15:39:27 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-10-27 15:39:27 +0000 |
commit | 66b4202f3069768b4a1c202422444f6f524b5838 (patch) | |
tree | db3831634ce94bf714a04c51f3abe6f807b38768 /gas/config/tc-avr.h | |
parent | 5fdcb63c89bda2332397f4e70e9394fe61bad10c (diff) | |
download | fsf-binutils-gdb-66b4202f3069768b4a1c202422444f6f524b5838.zip fsf-binutils-gdb-66b4202f3069768b4a1c202422444f6f524b5838.tar.gz fsf-binutils-gdb-66b4202f3069768b4a1c202422444f6f524b5838.tar.bz2 |
2009-10-27 Tristan Gingold <gingold@adacore.com>
* config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
* config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
(DWARF2_ADDR_SIZE): Define.
Diffstat (limited to 'gas/config/tc-avr.h')
-rw-r--r-- | gas/config/tc-avr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h index f68bbbd..b976d5a 100644 --- a/gas/config/tc-avr.h +++ b/gas/config/tc-avr.h @@ -147,3 +147,9 @@ extern long md_pcrel_from_section (struct fix *, segT); /* This target is buggy, and sets fix size too large. */ #define TC_FX_SIZE_SLACK(FIX) 2 + +/* AVR instructions are 2 or 4 bytes long. */ +#define DWARF2_LINE_MIN_INSN_LENGTH 2 + +/* 32 bits pseudo-addresses are used on AVR. */ +#define DWARF2_ADDR_SIZE(bfd) 4 |