From 48c342e22472128049c9e278e4e6d3a578e0d477 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Wed, 17 Jun 2009 19:33:59 +0000 Subject: After upgrading devel/avr-gcc to GCC 4.3.x, keep a GCC 4.2.x version here as it frequently produces more compact code (but supports less target MCU types). --- devel/avr-gcc-42/files/patch-dwarf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 devel/avr-gcc-42/files/patch-dwarf (limited to 'devel/avr-gcc-42/files/patch-dwarf') diff --git a/devel/avr-gcc-42/files/patch-dwarf b/devel/avr-gcc-42/files/patch-dwarf new file mode 100644 index 000000000000..316080d37166 --- /dev/null +++ b/devel/avr-gcc-42/files/patch-dwarf @@ -0,0 +1,10 @@ +--- gcc/config/avr/avr.h.orig 2006-04-13 15:31:19.000000000 +0200 ++++ gcc/config/avr/avr.h 2006-04-13 16:23:16.000000000 +0200 +@@ -892,3 +892,7 @@ + #define ZERO_REGNO 1 + ++#define DWARF2_DEBUGGING_INFO 1 + #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG ++ ++/* Offset from the frame pointer register value to the top of the stack. */ ++#define FRAME_POINTER_CFA_OFFSET(FNDECL) 0 -- cgit v1.2.3