summaryrefslogtreecommitdiff
path: root/source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff')
-rw-r--r--source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff b/source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff
new file mode 100644
index 00000000..e4f64367
--- /dev/null
+++ b/source/a/mkinitrd/archive/busybox-1.7.2.no-gc-sections.diff
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2007-09-29 18:54:25.000000000 -0500
++++ ./Makefile 2007-11-27 15:35:42.000000000 -0600
+@@ -570,7 +570,7 @@
+ quiet_cmd_busybox__ ?= LINK $@
+ cmd_busybox__ ?= $(srctree)/scripts/trylink $(CC) $(LDFLAGS) \
+ -o $@ -Wl,-Map -Wl,$@.map \
+- -Wl,--warn-common -Wl,--sort-common -Wl,--gc-sections \
++ -Wl,--warn-common -Wl,--sort-common \
+ -Wl,--start-group $(busybox-all) -Wl,--end-group \
+ $(LDLIBS)
+