1
0
Fork 0
forked from mirror/openwrt
openwrt/toolchain/gcc
Hauke Mehrtens 0744d77779 toolchain: gcc: Backport patch to fix mips16 linking
Backport patch from upstream GCC 14 branch which fixes linking with
MIPS16 on the pistachio target.

This fixes the following link problem:
```
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_ledf2'
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_call_stub_df_2'
/builder/shared-workdir/build/staging_dir/toolchain-mipsel_24kc+24kf_gcc-14.2.0_musl/lib/gcc/mipsel-openwrt-linux-musl/14.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld.bfd: ./liblua.so: undefined reference to `__mips16_muldf3'
```

Link: https://github.com/openwrt/openwrt/pull/18688
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-03 22:04:13 +02:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
initial Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
minimal Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
patches-11.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-12.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-13.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-14.x toolchain: gcc: Backport patch to fix mips16 linking 2025-05-03 22:04:13 +02:00
common.mk Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
Config.in toolchain: gcc: switch default to 14 2025-04-29 12:27:32 +02:00
Config.version toolchain: gcc: switch default to 14 2025-04-29 12:27:32 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00