From 3d183e1bc1c08382479bf1c0379bc504aa96e6f5 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 4 Jan 2007 16:12:12 +0000 Subject: Fix a compiler warning in the AVR-COFF generator that appeared with GCC 4.x, and caused the compilation to fail due to the -Werror option used. Remove an annoying assembler warning in the ATmega256x patch that was frequently triggered by large C switch() statements in GCC, and generally considered to be a regression. The author of that patch agreed that the warning isn't particularly useful anyway for a number of reasons, and recommended to just drop it. --- devel/avr-binutils/files/patch-atmega256x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/avr-binutils/files/patch-atmega256x') diff --git a/devel/avr-binutils/files/patch-atmega256x b/devel/avr-binutils/files/patch-atmega256x index 5911f2abd24d..ddc6e19c82c3 100644 --- a/devel/avr-binutils/files/patch-atmega256x +++ b/devel/avr-binutils/files/patch-atmega256x @@ -1738,7 +1738,7 @@ diff -Nur gas/config/tc-avr.c gas/config/tc-avr.c + break; + + default: -+ as_warn (_("expression dangerous with linker stubs")); ++ break; /* as_warn (_("expression dangerous with linker stubs")); *//* Bjoern agreed. :) */ + } + } + return reloc_to_return; -- cgit v1.2.3