[PATCH] x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)

Amaan Cheval amaan.cheval at gmail.com
Fri Apr 6 22:24:45 UTC 2018


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
---
 rtems/config/tools/rtems-gcc-7.3.0-newlib-3.0.0.cfg | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
2.13.0



More information about the devel mailing list