This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: FR-V FDPIC protected improvements and undefweak bug fix
- From: Nick Clifton <nickc at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 24 Feb 2004 13:14:21 +0000
- Subject: Re: FR-V FDPIC protected improvements and undefweak bug fix
- References: <ork72qxp22.fsf@livre.redhat.lsd.ic.unicamp.br>
Hi Alex,
> Index: bfd/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
> (_frv_emit_got_relocs_plt_entries): Decay relocation to protected
> function's descriptor to symbol+offset, and map local undefweak
> symbol to NULL function descriptor.
> (elf32_frv_relocate_section): Likewise.
> Index: ld/testsuite/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
>
> * ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
> bind locally.
> * ld-frv/fdpic-pie-8.d: Likewise.
> * ld-frv/fdpic-shared-4.d: Likewise.
> * ld-frv/fdpic-pie-6-fail.d: Renamed from...
> * ld-frv/fdpic-pie-6.d: New test.
> * ld-frv/fdpic-shared-6-fail.d: Renamed from...
> * ld-frv/fdpic-shared-6.d: New test.
> * ld-frv/fdpic6.ldv: New.
> * ld-frv/fdpic-static-6.d: Adjust test name.
> * ld-frv/fdpic-pie-8-fail.d: Removed.
> * ld-frv/fdpic.exp: Run new tests.
Approved - please apply.
Cheers
Nick