[PATCH] Re: more plugin testsuite issues
Dave Korn
dave.korn.cygwin@gmail.com
Wed Nov 17 03:13:00 GMT 2010
On 16/11/2010 23:01, Alan Modra wrote:
> On Tue, Nov 16, 2010 at 11:00:09PM +0100, Andreas Schwab wrote:
>> Dave Korn <dave.korn.cygwin@gmail.com> writes:
>>
>>> +# Rather than having libs we just define dummy values for anything
>>> +# we may need to link a target exe; we aren't going to run it anyway.
>>> +set libs "[ld_simple_link_defsyms] --defsym ${_}printf=0 --defsym ${_}puts=0"
>> That does not work.
>>
>> /home/andreas/src/binutils/binutils/ld/testsuite/ld-plugin/main.c:11: relocation truncated to fit: R_PPC_REL24 against symbol `puts' defined in *ABS* section in tmpdir/main.x
>
> That reminds me. I've had this in my tree for a while but hadn't
> committed it.
>
> * ld-plugin/plugin.exp: Define printf and puts as main.
Ah, excellent. That was what I was going to ask Andreas if it worked.
cheers,
DaveK
More information about the Binutils
mailing list