From 0c3e719d750fa615e71fea1a8f6c69ce67ae39c7 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 4 Mar 2010 13:38:30 +0000 Subject: Upgrade to GNU binutils 2.20, including patches from WinAVR 20100110. Feature safe: yes --- devel/avr-binutils/files/patch-as-dwarf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/avr-binutils/files/patch-as-dwarf (limited to 'devel/avr-binutils/files/patch-as-dwarf') diff --git a/devel/avr-binutils/files/patch-as-dwarf b/devel/avr-binutils/files/patch-as-dwarf new file mode 100644 index 000000000000..d081eb3a9982 --- /dev/null +++ b/devel/avr-binutils/files/patch-as-dwarf @@ -0,0 +1,10 @@ +diff -ru binutils-2.19.1.orig/gas/config/tc-avr.h binutils-2.19.1/gas/config/tc-avr.h +--- gas/config/tc-avr.h Tue Jul 3 14:01:04 2007 ++++ gas/config/tc-avr.h Thu Apr 16 20:46:54 2009 +@@ -147,3 +147,6 @@ + + /* This target is buggy, and sets fix size too large. */ + #define TC_FX_SIZE_SLACK(FIX) 2 ++ ++/* keep DWARF2_ADDR_SIZE in consistency with C compiler produced information */ ++#define DWARF2_ADDR_SIZE(bfd) 4 -- cgit v1.2.3