This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld-elf/exclude1.s, exclude.exp
- From: Daniel Jacobowitz <dan at debian dot org>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 16 Oct 2004 16:32:52 -0400
- Subject: Re: ld-elf/exclude1.s, exclude.exp
- References: <Pine.BSF.4.58.0410161525390.52694@dair.pair.com>
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