Bug 1505608 - Try to ensure the bss section of the elfhack testcase stays large enoug...
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 8 Nov 2018 14:50:22 +0000 (14:50 +0000)
committerCarsten Schoenert <c.schoenert@t-online.de>
Tue, 9 Jul 2019 20:09:04 +0000 (21:09 +0100)
commit2d09386b335c6ea5eb4b9339319dbd11b2bba68c
treeedd19d2d4ecfd443289c8c37adef3cbf5ba20214
parent6228493ed5297dd1557b66476bacc5d076ba6d35
Bug 1505608 - Try to ensure the bss section of the elfhack testcase stays large enough. r=froydnj

In bug 1470701, we added a dummy global variable so that it ends up in
the bss section, making it large enough for two pointers. Unfortunately,
in some cases, the symbol is eliminated by the linker because it is
unused. So we try to ensure it stays there.

Differential Revision: https://phabricator.services.mozilla.com/D11257

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1505608-Try-to-ensure-the-bss-section-of-the-elf.patch
build/unix/elfhack/test.c