generic-poky/meta/recipes-devtools/gcc/gcc-4.9
Richard Purdie dab511c36d gcc: Add support for nativesdk-gcc
Being able to build a nativesdk gcc is useful, particularly in cases
where the host compiler may be of an incompatible version (or a 32
bit compiler is needed).

Sadly, building nativesdk-gcc is not straight forward. We install
nativesdk-gcc into a relocatable location and this means that its
library locations can change. "Normal" sysroot support doesn't help
in this case since the values of paths like "libdir" change, not just
base root directory of the system.

In order to handle this we do two things:

a) Add %r into spec file markup which can be used for injected paths
   such as SYSTEMLIBS_DIR (see gcc_multilib_setup()).
b) Add other paths which need relocation into a .gccrelocprefix section
   which the relocation code will notice and adjust automatically.

This patch adds tweaks to the relocation script to handle the
new section too.

(From OE-Core rev: cd3d874fced2ee4c950d9964d30c0588fd8772e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31 10:32:37 +01:00
..
0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0002-uclibc-conf.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0003-gcc-uclibc-locale-ctype_touplow_t.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0004-uclibc-locale.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0005-uclibc-locale-no__x.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0006-uclibc-locale-wchar_fix.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0007-uclibc-locale-update.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0008-missing-execinfo_h.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0009-c99-snprintf.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0010-c99-complex-ugly-hack.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0011-index_macro.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0013-libstdc-namespace.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0014-sh-pr24836.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0015-arm-Use-TARGET_ENDIAN_OPTION-for-determining-MULTILI.patch gcc: Tweak arm multilib endian patch for baremetal 2015-03-31 22:23:14 +01:00
0016-gcc-poison-system-directories.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0017-gcc-poison-dir-extend.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0018-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0019-64-bit-multilib-hack.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0020-optional-libstdc.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0021-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0022-COLLECT_GCC_OPTIONS.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch gcc-4.9: fix the compile failure of 'defaults.h' not found 2014-11-20 14:08:13 +00:00
0024-PR-target-32219.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0025-fortran-cross-compile-hack.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0026-libgcc-sjlj-check.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0027-cpp-honor-sysroot.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0028-MIPS64-Default-to-N64-ABI.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0029-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch gcc: Handle uclibc linker relocation for multilib support 2014-05-08 13:11:28 +01:00
0030-gcc-Fix-argument-list-too-long-error.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0031-Disable-sdt.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0032-libtool.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0033-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0040-fix-g++-sysroot.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0041-libtool-avoid-libdir.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0043-cpp.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0044-gengtypes.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0046-libatomic-deptracking.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0047-repomembug.patch gcc, uclibc: Add/Fix Upstream-Status in patches 2014-06-01 14:29:29 +01:00
0049-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0050-Revert-Use-dbx_reg_number-for-spanning-registers.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0051-eabispe.patch gcc: Add 4.9 recipes 2014-05-06 17:59:15 +01:00
0052-Add-target-hook-to-override-DWARF2-frame-register-si.patch gcc: Upgrade 4.9.1 -> 4.9.2 2015-02-15 21:58:29 +00:00
0053-gcc-fix-segfault-from-calling-free-on-non-malloc-d-a.patch recipes-devtools: fix segfault in lib32-gcc with "." multilib_dir 2014-06-29 09:04:21 +01:00
0054-gcc-Makefile.in-fix-parallel-building-failure.patch gcc-4.9.inc: fix parallel building failure 2014-08-02 09:26:13 +01:00
0055-dwarf-reg-processing-helper.patch gcc: Upgrade 4.9.1 -> 4.9.2 2015-02-15 21:58:29 +00:00
0056-define-default-cfa-register-mapping.patch gcc: Upgrade 4.9.1 -> 4.9.2 2015-02-15 21:58:29 +00:00
0057-aarch64-config.patch gcc: Disable aarch64 multilib options 2014-12-23 10:18:19 +00:00
0058-gcc-r212171.patch gcc: backport two patches to fix ICE in dwarf2out_var_location 2014-11-06 16:45:19 +00:00
0059-gcc-PR-rtl-optimization-63348.patch gcc: backport two patches to fix ICE in dwarf2out_var_location 2014-11-06 16:45:19 +00:00
0060-Only-allow-e500-double-in-SPE_SIMD_REGNO_P-registers.patch gcc: Upgrade 4.9.1 -> 4.9.2 2015-02-15 21:58:29 +00:00
0061-target-gcc-includedir.patch gcc: Upgrade 4.9.1 -> 4.9.2 2015-02-15 21:58:29 +00:00
0062-Use-SYSTEMLIBS_DIR-replacement-instead-of-hardcoding.patch gcc-4.9: Upgrade to 4.9.3 2015-07-12 22:55:39 +01:00
0063-nativesdk-gcc-support.patch gcc: Add support for nativesdk-gcc 2015-07-31 10:32:37 +01:00