This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH-RFC] Testcase(s) for VAX' new -M entry:0xf00 feature
On Fri, Mar 25, 2005 at 06:12:22PM +0100, Jan-Benedict Glaw wrote:
> On Thu, Mar 24, 2005 at 11:40:26PM +0100, Jan-Benedict Glaw wrote:
> > diff -Nurp src-fresh/binutils/testsuite/binutils-all/vax/entrymask.s src-hacked/binutils/testsuite/binutils-all/vax/entrymask.s
> I've built this for vax-netbsd and vax-netbsdelf. The ELF variant
> works as expected, but vax-netbsd (a.out) seems to ignore the
> ".type label2,@function" and thus objdump -d won't disassemble
> label2 as a function.
>
> I'd modify the test in two ways, which one do you think is preferrable:
>
> - Exclude non-ELF targets from the test (how do I do that?)
> - Also add a -M entry:0x... for label2 (which I'd prefer to do)
Third option would be to
- Handle ELF and a.out targets different; expect working entry mask
decoding for ELF, but not for a.out.
MfG, JBG
--
AWEK microdata GmbH -- Am Wellbach 4 -- 33609 Bielefeld