]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 303-binutils-2.20.1-as-dwarf.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-binutils.git] / 303-binutils-2.20.1-as-dwarf.patch
1 diff -ruwN gas/config/tc-avr.c gas/config/tc-avr.c
2 --- gas/config/tc-avr.c 2010-03-11 14:56:16.484109300 +0530
3 +++ gas/config/tc-avr.c 2010-03-11 14:58:59.248690500 +0530
4 @@ -24,6 +24,7 @@
5  #include "as.h"
6  #include "safe-ctype.h"
7  #include "subsegs.h"
8 +#include "dwarf2dbg.h"
9  
10  struct avr_opcodes_s
11  {
12 @@ -1368,6 +1369,7 @@
13  
14    dwarf2_emit_insn (0);
15  
16 +  dwarf2_emit_insn (0);
17    /* We used to set input_line_pointer to the result of get_operands,
18       but that is wrong.  Our caller assumes we don't change it.  */
19    {
20 diff -ruwN gas/config/tc-avr.h gas/config/tc-avr.h
21 --- gas/config/tc-avr.h 2010-03-11 14:56:16.484109300 +0530
22 +++ gas/config/tc-avr.h 2010-03-11 14:58:59.264313900 +0530
23 @@ -147,3 +147,6 @@
24  
25  /* This target is buggy, and sets fix size too large.  */
26  #define TC_FX_SIZE_SLACK(FIX) 2
27 +
28 +/* keep DWARF2_ADDR_SIZE in consistency with C compiler produced information */
29 +#define DWARF2_ADDR_SIZE(bfd) 4
This page took 0.053589 seconds and 3 git commands to generate.