]> git.pld-linux.org Git - packages/binutils.git/blob - binutils-pr3290.patch
- updated to 2.17.50.0.6.
[packages/binutils.git] / binutils-pr3290.patch
1 2006-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/3290
4         * elflink.c (elf_link_add_object_symbols): Hide definitions in
5         debug sections.
6
7 --- bfd/elflink.c.debug 2006-09-29 09:00:21.000000000 -0700
8 +++ bfd/elflink.c       2006-09-30 18:30:40.000000000 -0700
9 @@ -4137,6 +4137,13 @@ elf_link_add_object_symbols (bfd *abfd, 
10                 dynsym = TRUE;
11             }
12  
13 +         if (definition && (sec->flags & SEC_DEBUGGING))
14 +           {
15 +             /* We don't want to make debug symbol dynamic.  */
16 +             (*bed->elf_backend_hide_symbol) (info, h, TRUE);
17 +             dynsym = FALSE;
18 +           }
19 +
20           /* Check to see if we need to add an indirect symbol for
21              the default name.  */
22           if (definition || h->root.type == bfd_link_hash_common)
This page took 0.136584 seconds and 3 git commands to generate.