]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc: backport patch to fix data relocation to !ENDBR: stpcpy
authorBin Lan <bin.lan.cn@windriver.com>
Tue, 17 Dec 2024 10:47:29 +0000 (18:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Dec 2024 11:11:45 +0000 (11:11 +0000)
commit30d4f18d1e11b3336c8668dccd96b9ff35c7bc76
tree558ec610b6fd09545ba54d1aeafea508de5c0636
parentd44ab1c3abb25ef08307558430d76a47cde07cc1
gcc: backport patch to fix data relocation to !ENDBR: stpcpy

There is the following warning when building linux-yocto with
default configuration on x86-64 with gcc-14.2:
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  vmlinux.o: warning: objtool: .export_symbol+0x332a0: data relocation to !ENDBR: stpcpy+0x0

This change set removes the warning.

PR target/116174 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116174]

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-14.2.inc
meta/recipes-devtools/gcc/gcc/0027-gcc-backport-patch-to-fix-data-relocation-to-ENDBR-s.patch [new file with mode: 0644]