This is the mail archive of the 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 []
> Sent: Friday, July 31, 2015 5:40 PM
> On Fri, Jul 24, 2015 at 10:05 AM, Thomas Preud'homme
> <> 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:;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,


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