This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFA: Un-bork arm-linux dynamic linking
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Fri, 23 Jan 2004 10:09:21 +0000
- Subject: Re: RFA: Un-bork arm-linux dynamic linking
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> I am too fiddly for my own good. When I fixed static linking for Richard
> last week, I snuck in a cleanup. The cleanup turns out to be wrong.
> R_ARM_ABS32 relocs against a symbol shouldn't force creation of a PLT, but
> they -should- increment its PLT refcount; otherwise, if the symbol turns out
> to be a function, we'll forget to create the PLT slot, and crash.
>
> At least I got a new testcase. OK?
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
>
> 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
>
> * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
> change.
>
> 2004-01-22 Daniel Jacobowitz <drow@mvista.com>
>
> * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
> ld-arm/arm-app-abs32.d: New files.
> * ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.
OK. I assume this test does the right thing on an arm-elf cross (when
there's no dynamic linker support).
R.