ld: adjust PE base relocations testcase
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Mar 2021 11:40:13 +0000 (12:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Mar 2021 11:40:13 +0000 (12:40 +0100)
commit5dc75cf3254c1b3c5b62125f47b543407836a4b6
tree5a2c9f8fd2b378e569291ffe115607d1521bbd59
parentfbb1aacebac7d1fd556cf9c46e9af89aaaa62398
ld: adjust PE base relocations testcase

mcore-pe and sh-pe pointed out that the testcase added by 6fa7408d72b3
("ld: don't generate base relocations in PE output for absolute
symbols") wasn't quite generic enough yet. Copy entry point stuff from
another test and increase alignment to also cover targets with a page
size lower than 4k.

Despite all of this the test needs to be xfail-ed for mcore, as this
target isn't included in the set getting DLL_SUPPORT enabled in
emultempl/pe.em, and hence no base relocations get generated there
(yet).
ld/ChangeLog
ld/testsuite/ld-pe/reloc.d
ld/testsuite/ld-pe/reloc.s
This page took 0.024976 seconds and 4 git commands to generate.