bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23078] Weak alias to a weak symbol is not resolved correctly.


From: nickc at redhat dot com
Subject: [Bug ld/23078] Weak alias to a weak symbol is not resolved correctly.
Date: Thu, 17 May 2018 16:05:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23078

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Vadzim,

> VECTORS array points to a weak function instead of a strong function defined
> in main.c

I think that this is a bug in your test code.  You should be using the
weakref attribute here, rather than the weak and alias attributes.  IE:

  static __attribute__((weakref ("DEFAULT_HANDLER"))) void HARD_FAULT ();

and similarly for BUS_FAULT.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]