bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22836] "-r -s" doesn't work with -g3 using GCC 7


From: hjl.tools at gmail dot com
Subject: [Bug ld/22836] "-r -s" doesn't work with -g3 using GCC 7
Date: Sun, 18 Feb 2018 17:24:55 +0000

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
This is caused by

      if (!sy 
          || (sy != symbol_lastP
              && (sy->sy_next == NULL 
                  || sy->sy_next->sy_previous != sy)))
        {
          /* Create the symbol now.  */
          sy = symbol_new (group_name, now_seg, (valueT) 0, frag_now);
#ifdef TE_SOLARIS
          /* Before Solaris 11 build 154, Sun ld rejects local group
             signature symbols, so make them weak hidden instead.  */
          symbol_get_bfdsym (sy)->flags |= BSF_WEAK;
          S_SET_OTHER (sy, STV_HIDDEN);
#else
          symbol_get_obj (sy)->local = 1; 
#endif
          symbol_table_insert (sy);

in obj-elf.c.

-- 
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]