summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaan Cheval <amaan.cheval@gmail.com>2018-04-06 22:35:55 (UTC)
committerChris Johns <chrisj@rtems.org>2018-05-04 01:37:13 (UTC)
commitdefa958301215995b0fa41d8e65cb23c9a28a847 (patch)
treea98ca790de8e65621046cce387ba0d18cee7431b
parentaa798b5cd897f6ad395bfcfac9da07739a066f98 (diff)
downloadrtems-source-builder-defa958301215995b0fa41d8e65cb23c9a28a847.tar.bz2
x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)
Adds -qnolinkcmds, -qrtems, and defaults to pass to linker, for gcc targeting x86_64. Corresponding gcc commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3
-rw-r--r--rtems/config/5/rtems-x86_64.bset7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtems/config/5/rtems-x86_64.bset b/rtems/config/5/rtems-x86_64.bset
index 452f9a8..951ae85 100644
--- a/rtems/config/5/rtems-x86_64.bset
+++ b/rtems/config/5/rtems-x86_64.bset
@@ -1,4 +1,11 @@
%define release 1
%define rtems_arch x86_64
%define with_libgomp
+
+#
+# Add LIB_SPEC to gcc for -qnolinkcmds, -qrtems, and default linker flags
+#
+%patch add gcc --rsb-file=gcc-99c7ae16793d88d7c16c692fb468ab308cb4d12d.patch https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=gcc/config.gcc;h=99c7ae16793d88d7c16c692fb468ab308cb4d12d;hp=ae19655bf328e29ea4f00966b5060967684a7f1b;hb=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3;hpb=7ea6a6472d360c634a00358dbaab2e236e785367
+%hash sha512 gcc-99c7ae16793d88d7c16c692fb468ab308cb4d12d.patch ed519aacb199be54bce514bd6745cf532d66250f0163e8be6b6e630d83ec1a68e086467320f589191dce3a7638bdc867663f38dfc569ee2f27c6b686c040130f
+
%include 5/rtems-default.bset