source: rtems-source-builder/rtems/config/5/rtems-x86_64.bset @ 8ef0d73

5
Last change on this file since 8ef0d73 was a3a6c34, checked in by Amaan Cheval <amaan.cheval@…>, on 05/08/18 at 17:53:51

x86_64/gcc: Have gcc build crti.o and crtn.o

The original commit in GCC's repo is here:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ab55f7db3694293e4799d58f7e1a556c0eae863a

We need this to be able to use crti.o and crtn.o in the bsp_specs file for the
port, and therefore provide missing symbols like "_fini" which RTEMS assumes are
defined in:

./cpukit/libcsupport/src/newlibc_exit.c

  • Property mode set to 100644
File size: 1.2 KB
Line 
1%define release 1
2%define rtems_arch x86_64
3%define with_libgomp
4
5#
6# Add LIB_SPEC to gcc for -qnolinkcmds, -qrtems, and default linker flags
7#
8%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
9%hash sha512 gcc-99c7ae16793d88d7c16c692fb468ab308cb4d12d.patch ed519aacb199be54bce514bd6745cf532d66250f0163e8be6b6e630d83ec1a68e086467320f589191dce3a7638bdc867663f38dfc569ee2f27c6b686c040130f
10
11#
12# Have gcc build crti.o and crtn.o
13#
14%patch add gcc --rsb-file=gcc-f8fd78279d353f6959e75ac25571c1b7b2dec110.patch https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff_plain;f=libgcc/config.host;h=f8fd78279d353f6959e75ac25571c1b7b2dec110;hp=11b4acaff55e00ee6bd3c182e9da5dc597ac57c4;hb=ab55f7db3694293e4799d58f7e1a556c0eae863a;hpb=344c180cca810c50f38fd545bb9a102fb39306b7
15%hash sha512 gcc-f8fd78279d353f6959e75ac25571c1b7b2dec110.patch aef76f9d45a53096a021521375fc302a907f78545cc57683a7a00ec61608b8818115720f605a6b1746f479c8568963b380138520e259cbb9e8951882c2f1567f
16
17%include 5/rtems-default.bset
Note: See TracBrowser for help on using the repository browser.