diff options
author | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
---|---|---|
committer | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
commit | 3dfc679bb985d2070b0e645393d6e0f5fd4760e6 (patch) | |
tree | 78854962c31c8caf594c6dd432abdca6983f3253 /toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch | |
parent | 214601c01245b4e2e1c017043d077b58ace54b08 (diff) | |
download | upstream-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.gz upstream-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.bz2 upstream-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.zip |
add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
Diffstat (limited to 'toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch')
-rw-r--r-- | toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch b/toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch new file mode 100644 index 0000000000..991e3442c7 --- /dev/null +++ b/toolchain/uClibc/patches/0.9.28.2/401-avr32-linkrelax-option.patch @@ -0,0 +1,40 @@ +From nobody Mon Sep 17 00:00:00 2001 +Subject: [PATCH] Make linkrelax configurable +From: HÃ¥vard Skinnemoen <hskinnemoen@atmel.com> +Date: 1133951618 +0100 + +Add a linkrelax option to the configure system which will give +appropriate options to the compiler, assembler and linker to enable +link-time optimizations. + +--- + + Rules.mak | 2 ++ + extra/Configs/Config.avr32 | 4 ++++ + 2 files changed, 6 insertions(+) + +Index: uClibc-0.9.28/Rules.mak +=================================================================== +--- uClibc-0.9.28.orig/Rules.mak 2006-02-08 17:58:53.000000000 +0100 ++++ uClibc-0.9.28/Rules.mak 2006-02-08 17:59:07.000000000 +0100 +@@ -233,6 +233,8 @@ endif + + ifeq ($(strip $(TARGET_ARCH)),avr32) + CPU_CFLAGS-$(CONFIG_AP7000) += -mcpu=ap7000 ++ CPU_CFLAGS-$(LINKRELAX) += -masm-addr-pseudos -Wa,--pic,--linkrelax ++ CPU_LDFLAGS-$(LINKRELAX) += --relax + endif + + # Keep the check_gcc from being needlessly executed +Index: uClibc-0.9.28/extra/Configs/Config.avr32 +=================================================================== +--- uClibc-0.9.28.orig/extra/Configs/Config.avr32 2006-02-08 17:58:53.000000000 +0100 ++++ uClibc-0.9.28/extra/Configs/Config.avr32 2006-02-08 17:59:07.000000000 +0100 +@@ -36,3 +36,7 @@ config CONFIG_AP7000 + bool "AP7000" + + endchoice ++ ++config LINKRELAX ++ bool "Enable linker optimizations" ++ default n |