mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
87fa7d568d
In PE images section addresses get expressed as addresses relative to
the image base. Therefore the VA of a section must be no less than the
image base, and after subtraction of the image base the resulting value
should fit in 32 bits. (The issue is particularly obvious to notice when
sections, perhaps because of ELF assumptions, get placed at VA 0 by
default. Debugging info sections as well as .comment, when input files
are ELF, are a good example. All such sections need proper mentioning in
the linker script to avoid this warning.)
There are a number of test cases which previously produced bogus images,
yet still declared the test a success. Like done for other tests
already, force a zero image base for these. This then also allows (and
requires) dropping again xfail-s which
|
||
---|---|---|
.. | ||
dummy.s | ||
entry-1.d | ||
entry-2.d | ||
entry-3.d | ||
entry-4.d | ||
entry-5.d | ||
entry-6.d | ||
entry-7.d | ||
entry.exp | ||
entry.s | ||
fundef.s | ||
require-defined-1.d | ||
require-defined-2.d | ||
require-defined-3.d | ||
require-defined-4.d | ||
require-defined-5.d | ||
require-defined.exp | ||
require-defined.s | ||
undefined.c | ||
undefined.exp | ||
weak-fundef.s | ||
weak-undef.exp | ||
weak-undef.s | ||
weak-undef.t |