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, arm] Fix broken -Bsymbolic-functions


Hi Ramana,

> From: Ramana Radhakrishnan [mailto:ramana.gcc@googlemail.com]
> Sent: Friday, July 31, 2015 5:40 PM
> 
> On Fri, Jul 24, 2015 at 10:05 AM, Thomas Preud'homme
> <thomas.preudhomme@arm.com> wrote:
> > GNU ld generates absolute relocation for non function call references
> to functions (eg. initialization of function pointer) despite the presence
> of -Bsymbolic-functions. This issue has already been dealt with in
> Aarch64 some time ago but although a check for similar issues in other
> targets was done, it was done incorrectly (probably by looking for the
> whole condition on a single line instead of just grepping for !.*-
> >dynamic).
> >
> > Target that appears to be affected:
> >
> >     arm
> >     hppa
> >     m68k
> >     nios2
> >     tic6x
> >
> > This patch fixes the issue for ARM targets.
> >
> 
> 
> OK for the ARM backend. I don't mind this going into 2.25 at the least
> but Tristan needs to ack that.

I believe the following commit by Alan Modra fixed the issue for all targets:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=a496fbc8802f0a5719db6347a43cc869e03d83c9

Alan, would it be ok for this patch to be backported to 2.25 after a few more days if no bug is reported?

Best regards,

Thomas




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