This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Add the "ld -r" test for ELF visibility.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]