ld-elf/exclude1.s, exclude.exp

Daniel Jacobowitz dan@debian.org
Sat Oct 16 20:33:00 GMT 2004


On Sat, Oct 16, 2004 at 03:36:00PM -0400, Hans-Peter Nilsson wrote:
> ERROR: /h/hp/binutils/cvs_latest/src/ld/testsuite/ld-elf/exclude1.s: assembly failed
> (We get ERROR seemingly due to perror in default_ld_assemble.
> It should have been UNRESOLVED or something.)
> 
> Fails on cris-elf.  It's either a false assumption that all ELF
> targets support PC-relative relocs to an undefined symbol from
> data, or just a matter of excluding cris-* in exclude.exp for
> this test.  Though I don't really see why you must use a
> PC-relative expression for this test.
> Why not just " .long exclude_symbol"?

I figure if I pick a non-PC-relative reloc someone won't have one in
the right size.  But if you think .long is more likely to work, then
that's fine.

-- 
Daniel Jacobowitz



More information about the Binutils mailing list