This is the mail archive of the binutils@sourceware.org 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: PATCH: ld/2462: -Wl,-s always output unused bytes at the end


On Friday 17 March 2006 14:02, H. J. Lu wrote:
> This is a regression caused by
>
> http://sourceware.org/ml/binutils/2005-05/msg00170.html
>
> If Paul has no problems with vxworks, I'd like to check it as an
> obvious fix.

> 2006-03-17 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ????????PR ld/2462
> ????????* elflink.c (elf_emit_relocs): New.
> ????????(elf_link_input_bfd): Emit relocations only when needed. Call
> ????????elf_emit_relocs instead of bed->elf_backend_emit_relocs.
>
> ????????* elfxx-target.h (elf_backend_emit_relocs): Default to NULL.

I don't think this patch is even close to being "obvious".

Richard Sandiford has looked at the vxworks bits more recently than me, maybe 
he can comment.

Paul


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