x86emul: fix test harness build for gas 2.36
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Jun 2021 12:55:55 +0000 (14:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Jun 2021 12:55:55 +0000 (14:55 +0200)
commitebfdf0c7eb0ba26a9e83f3f39bdf51452fa11b03
tree0cf28dedb62ceea517218b958921bf5fa462c531
parent9d963a7169a3b6e2e0fb9c8abc31c48064b2906d
x86emul: fix test harness build for gas 2.36

All of the sudden, besides .text and .rodata and alike, an always
present .note.gnu.property section has appeared. This section, when
converting to binary format output, gets placed according to its
linked address, causing the resulting blobs to be about 128Mb in size.
The resulting headers with a C representation of the binary blobs then
are, of course all a multiple of that size (and take accordingly long
to create). I didn't bother waiting to see what size the final
test_x86_emulator binary then would have had.

See also https://sourceware.org/bugzilla/show_bug.cgi?id=27753.

Rather than figuring out whether gas supports -mx86-used-note=, simply
remove the section while creating *.bin.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
master commit: aa803ba38a867551917d11059eaa044955556e05
master date: 2021-05-17 15:41:28 +0200
tools/tests/x86_emulator/testcase.mk