summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaan Cheval <amaan.cheval@gmail.com>2018-04-07 03:54:45 +0530
committerChris Johns <chrisj@rtems.org>2018-05-04 11:34:27 +1000
commit8e763905381755ec2e421bb50d92166cc7fd8ec5 (patch)
treeec5070b045322592c551f1214b768146a7601f6e
parentbare/devel: Add qemu-couverture support. (diff)
downloadrtems-source-builder-8e763905381755ec2e421bb50d92166cc7fd8ec5.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/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg b/rtems/config/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg
index 4376a08..c64c08c 100644
--- a/rtems/config/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg
+++ b/rtems/config/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg
@@ -21,6 +21,9 @@
%hash sha512 mpc-1.0.3.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
%hash sha512 gmp-6.1.0.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
+# x86_64 gcc specific:
+%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
%define with_threads 1
%define with_plugin 0