PATCH: Add the "ld -r" test for ELF visibility.
Hans-Peter Nilsson
hp@bitrange.com
Wed Oct 31 13:31:00 GMT 2001
On Wed, 31 Oct 2001, H . J . Lu wrote:
> How about this patch? Tested on Linux/x86 and Linux/alpha.
That's what I was thinking of, except (for both tests)...
> +#target: *-*-*
The target-specifier is optional; you don't need it for *-*-*.
> + .: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED . protected
> +#...
Not sure why I think so, but I think the last "#..." should
better be "#pass". Perhaps it's because things then look a bit
clearer when the test fails.
Another caveat is that the order of the symbols might change,
the test fail, but the output still be valid. Perhaps different
tests, each selecting one line, if it's important.
brgds, H-P
More information about the Binutils
mailing list