[rtems-source-builder commit] x86_64/gcc: Add gcc patch for LIB_SPEC ( rtems.h in gcc)

Chris Johns chrisj at rtems.org
Fri May 4 01:37:31 UTC 2018


Module:    rtems-source-builder
Branch:    master
Commit:    defa958301215995b0fa41d8e65cb23c9a28a847
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=defa958301215995b0fa41d8e65cb23c9a28a847

Author:    Amaan Cheval <amaan.cheval at gmail.com>
Date:      Sat Apr  7 04:23:55 2018 +0530

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

---

 rtems/config/5/rtems-x86_64.bset | 7 +++++++
 1 file changed, 7 insertions(+)

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



More information about the vc mailing list