remove broken status from uml target
[openwrt.git] / toolchain / uClibc / patches / 0.9.28.2 / 401-avr32-linkrelax-option.patch
1 From nobody Mon Sep 17 00:00:00 2001
2 Subject: [PATCH] Make linkrelax configurable
3 From: HÃ¥vard Skinnemoen <hskinnemoen@atmel.com>
4 Date: 1133951618 +0100
5
6 Add a linkrelax option to the configure system which will give
7 appropriate options to the compiler, assembler and linker to enable
8 link-time optimizations.
9
10 ---
11
12 Rules.mak | 2 ++
13 extra/Configs/Config.avr32 | 4 ++++
14 2 files changed, 6 insertions(+)
15
16 Index: uClibc-0.9.28/Rules.mak
17 ===================================================================
18 --- uClibc-0.9.28.orig/Rules.mak 2006-02-08 17:58:53.000000000 +0100
19 +++ uClibc-0.9.28/Rules.mak 2006-02-08 17:59:07.000000000 +0100
20 @@ -233,6 +233,8 @@ endif
21
22 ifeq ($(strip $(TARGET_ARCH)),avr32)
23 CPU_CFLAGS-$(CONFIG_AP7000) += -mcpu=ap7000
24 + CPU_CFLAGS-$(LINKRELAX) += -masm-addr-pseudos -Wa,--pic,--linkrelax
25 + CPU_LDFLAGS-$(LINKRELAX) += --relax
26 endif
27
28 # Keep the check_gcc from being needlessly executed
29 Index: uClibc-0.9.28/extra/Configs/Config.avr32
30 ===================================================================
31 --- uClibc-0.9.28.orig/extra/Configs/Config.avr32 2006-02-08 17:58:53.000000000 +0100
32 +++ uClibc-0.9.28/extra/Configs/Config.avr32 2006-02-08 17:59:07.000000000 +0100
33 @@ -36,3 +36,7 @@ config CONFIG_AP7000
34 bool "AP7000"
35
36 endchoice
37 +
38 +config LINKRELAX
39 + bool "Enable linker optimizations"
40 + default n
This page took 0.044753 seconds and 5 git commands to generate.