Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
qemu-testsuite
1004-vgasrc-ignore-.node.gnu.property-bi.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1004-vgasrc-ignore-.node.gnu.property-bi.patch of Package qemu-testsuite
From: Sergei Trofimovich <slyfox@gentoo.org> Date: Thu, 20 May 2021 23:18:48 +0100 Subject: vgasrc: ignore .node.gnu.property (binutils-2.36 support) Git-Commit: 6eff8085980dba0938cea0193b8a0fd3c6b0c4ca Modern binutils unconditionally tracks x86_64 ISA levels in intermediate files in .note.gnu.property. Custom liker script does not handle the section and complains about it: ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o \ out/vgaentry.o out/vgaversion.o -o out/vgarom.o ld: section .note.gnu.property LMA [0000000000000000,0000000000000027] \ overlaps section .text LMA [0000000000000000,00000000000098af] The change ignores .note* sections. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Dario Faggioli <dfaggioli@suse.com> --- vgasrc/vgalayout.lds.S | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roms/seabios/vgasrc/vgalayout.lds.S b/roms/seabios/vgasrc/vgalayout.lds.S index 533734d85d48ea9e3a94176995aa..c3e4f601d5f9e1bd98cd0c8c4c4a 100644 --- a/roms/seabios/vgasrc/vgalayout.lds.S +++ b/roms/seabios/vgasrc/vgalayout.lds.S @@ -19,5 +19,12 @@ SECTIONS // Discard regular data sections to force a link error if // 16bit code attempts to access data not marked with VAR16. - /DISCARD/ : { *(.text*) *(.rodata*) *(.data*) *(.bss*) *(COMMON) } + /DISCARD/ : { + *(.text*) + *(.rodata*) + *(.data*) + *(.bss*) + *(COMMON) + *(.note*) + } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor