This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Un-bork arm-linux dynamic linking


> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]