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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alexander Ivchenko from comment #0)
> As discussed here: https://sourceware.org/ml/binutils/2013-11/msg00315.html
> 
> The testcase for SHF_INFO_LINK:
> 
> a.c:
> 
> int global_var = 42;
> 
> int function(int i) {
>   return i + global_var;
> }

Wrong test. The correct one is

---
extern int bar (int);

int function(int i) {
  return bar (i);
}
---

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to