aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc-4.4.3/gcc/config/arm/linux-elf.h5
-rw-r--r--gcc-4.6/gcc/config/arm/linux-elf.h5
-rw-r--r--gcc-4.7/gcc/config/arm/linux-elf.h5
3 files changed, 9 insertions, 6 deletions
diff --git a/gcc-4.4.3/gcc/config/arm/linux-elf.h b/gcc-4.4.3/gcc/config/arm/linux-elf.h
index 07455ee..97e9061 100644
--- a/gcc-4.4.3/gcc/config/arm/linux-elf.h
+++ b/gcc-4.4.3/gcc/config/arm/linux-elf.h
@@ -69,8 +69,9 @@
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
- %{rdynamic:-export-dynamic} \
- %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "} \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC
diff --git a/gcc-4.6/gcc/config/arm/linux-elf.h b/gcc-4.6/gcc/config/arm/linux-elf.h
index e74a02e..587e284 100644
--- a/gcc-4.6/gcc/config/arm/linux-elf.h
+++ b/gcc-4.6/gcc/config/arm/linux-elf.h
@@ -68,8 +68,9 @@
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER " \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ -dynamic-linker " LINUX_DYNAMIC_LINKER "} \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC
diff --git a/gcc-4.7/gcc/config/arm/linux-elf.h b/gcc-4.7/gcc/config/arm/linux-elf.h
index 270e12b..0082d56 100644
--- a/gcc-4.7/gcc/config/arm/linux-elf.h
+++ b/gcc-4.7/gcc/config/arm/linux-elf.h
@@ -65,8 +65,9 @@
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " GNU_USER_DYNAMIC_LINKER " \
+ %{!static: \
+ %{rdynamic:-export-dynamic} \
+ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
-X \
%{mbig-endian:-EB} %{mlittle-endian:-EL}" \
SUBTARGET_EXTRA_LINK_SPEC