[Bug ld/11539] ld --gc-sections should work for PE-COFF on MinGW

2011-10-24 Thread xunxun1982 at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11539

--- Comment #6 from xunxun  2011-10-24 09:28:59 
UTC ---
It seems to dll build can't use the patches, even if using
-Wl,--undefined=_DllMainCRTStartup. Though the dll is generated successfully,
we can't use other exes to link the dll (running the exe can't show anything). 
How do we make the patches generate the dll correctly?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13292] Binutils uses "struct stat" instead of "#include "

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13292

--- Comment #8 from cvs-commit at gcc dot gnu.org  2011-10-24 11:23:47 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2011-10-24 11:23:41

Modified files:
bfd: ChangeLog bfd-in.h bfd-in2.h 

Log message:
PR binutils/13292
* bfd-in.h: Include  rather than forward defining
struct stat.
* bfd-in2.h: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5500&r2=1.5501
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in.h.diff?cvsroot=src&r1=1.158&r2=1.159
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=src&r1=1.549&r2=1.550

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13292] Binutils uses "struct stat" instead of "#include "

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13292

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||nickc at redhat dot com
 Resolution||FIXED

--- Comment #9 from Nick Clifton  2011-10-24 11:26:26 
UTC ---
Hi Pau,

  Thanks for the bug report and patch.  I have checked your patch in along with
the following changelog entry.

Cheers
  Nick

bfd/ChangeLog
2011-10-24  Pau Garcia i Quiles  

PR binutils/13292
* bfd-in.h: Include  rather than forward defining
struct stat.
* bfd-in2.h: Regenerate.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13273] incorrect warning about conflicting platform configuration on ARM

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13273

--- Comment #1 from cvs-commit at gcc dot gnu.org  2011-10-24 12:52:43 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2011-10-24 12:52:37

Modified files:
bfd: ChangeLog elf32-arm.c 

Log message:
PR ld/13273
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Do not warn about
identical TAG_PCS_config attributes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5502&r2=1.5503
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-arm.c.diff?cvsroot=src&r1=1.279&r2=1.280

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13273] incorrect warning about conflicting platform configuration on ARM

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13273

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||nickc at redhat dot com
 Resolution||FIXED

--- Comment #2 from Nick Clifton  2011-10-24 12:53:46 
UTC ---
Hi Eugeniy,

  Thanks for the bug report and patch.

  I have applied your patch along with this changelog entry.

Cheers
  Nick

bfd/ChangeLog
2011-10-24  Eugeniy Meshcheryakov  

PR ld/13273
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Do not warn about
identical TAG_PCS_config attributes.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug gprof/13325] gprof doesn't work when there are histogram data before the first symbol

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13325

--- Comment #1 from Nick Clifton  2011-10-24 14:14:36 
UTC ---
Created attachment 6026
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6026
Prevent wraparound of j

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug gprof/13325] gprof doesn't work when there are histogram data before the first symbol

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13325

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #2 from Nick Clifton  2011-10-24 14:16:18 
UTC ---
Hi Wei,

  I believe that the uploaded patch should take care of this problem.  Please
could you let me know what you think.

  The patch just prevents j from being decremented below 0, which I think
should be sufficient.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13300] out-of-bounds memcpy in peXXigen.c

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13300

--- Comment #1 from Nick Clifton  2011-10-24 16:04:54 
UTC ---
Created attachment 6030
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6030
Fix memcpys

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13300] out-of-bounds memcpy in peXXigen.c

2011-10-24 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13300

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #2 from Nick Clifton  2011-10-24 16:06:50 
UTC ---
Hi Pascal,

  Defining FILNMLEN in only one place would be good, but I am worried that
tampering with those header files might break something.  So instead, what do
you think of the uploaded patch which should fix the memcpys instead ?

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug gprof/13325] gprof doesn't work when there are histogram data before the first symbol

2011-10-24 Thread carrot at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13325

--- Comment #3 from Wei Guozhi  2011-10-24 21:59:42 
UTC ---
(In reply to comment #2)
> Hi Wei,
> 
>   I believe that the uploaded patch should take care of this problem.  Please
> could you let me know what you think.
> 
>   The patch just prevents j from being decremented below 0, which I think
> should be sufficient.
> 
> Cheers
>   Nick

Hi Nick

This patch works perfectly.

For other histogram data that isn't belong to any known symbol and is not
before the first symbol, the value of j is still decremented. This is not
harmful to the final result, it just waste time to check more symbols. How
about the following patch? It can avoid rechecking symbols with lower address.

368c368
<   unsigned int i, j;
---
>   unsigned int i, j, k;
374c374
<   for (i = 0, j = 1; i < r->num_bins; ++i)
---
>   for (i = 0, k = 1; i < r->num_bins; ++i)
393c393
<   for (j = j - 1; j < symtab.len; ++j)
---
>   for (j = k - 1; j < symtab.len; k = ++j)

thanks
Carrot

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13235] gcc's -freorder-blocks-and_partition results in ld misoptimizing -mcmodel=medium code

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13235

--- Comment #2 from cvs-commit at gcc dot gnu.org  2011-10-25 02:46:14 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 02:46:10

Modified files:
bfd: ChangeLog elf64-ppc.c 
ld/testsuite   : ChangeLog 
ld/testsuite/ld-powerpc: powerpc.exp tocopt.d 

Log message:
PR ld/13235
Apply mainline patches
bfd/
2011-09-30  Alan Modra  
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2.
(ppc64_elf_edit_toc): Check HA relocs.
(ha_reloc_match): Delete function.
(ppc64_elf_relocate_section): Remove delayed HA nop optimization.
Instead do it and low part optimization based on
ha_relocs_not_using_r2.
ld/testsuite/
2011-09-30  Alan Modra  
* ld-powerpc/tocopt.d: Update.
* ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test.
* ld-powerpc/powerpc.exp: Run new test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.7&r2=1.5473.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.363&r2=1.363.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1460.2.4&r2=1.1460.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/powerpc.exp.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.36&r2=1.36.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-powerpc/tocopt.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13229] V2 of getsymbol linker plugin interface is not supported by GNU LD

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13229

--- Comment #20 from cvs-commit at gcc dot gnu.org  2011-10-25 02:51:26 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 02:51:22

Modified files:
ld : ChangeLog plugin.c testplug.c 
ld/testsuite   : ChangeLog 
ld/testsuite/ld-plugin: plugin-1.d plugin-10.d plugin-11.d 
plugin-2.d plugin-3.d plugin-4.d 
plugin-5.d plugin-6.d plugin-7.d 
plugin-8.d plugin-9.d 

Log message:
PR ld/13229
Apply mainline patches
ld/
2011-10-06  Alan Modra  
* plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2.
(set_tv_header): Handle it.  Adjust LDPT_GET_SYMBOLS.  Return void.
(get_symbols): Add def_ironly_exp param.  Return that value for
syms exported from shared libs.
(get_symbols_v1, get_symbols_v2): New wrapper functions.
* testplug.c: Update for above changes.
ld/testsuite/
2011-10-06  Alan Modra  
* ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d,
* ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d,
* ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d,
* ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.2373.2.1&r2=1.2373.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.40&r2=1.40.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testplug.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1460.2.5&r2=1.1460.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-1.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-10.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-11.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-2.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-3.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-4.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-5.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-6.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.2&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-7.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-8.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-plugin/plugin-9.d.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1&r2=1.1.4.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13244

--- Comment #7 from cvs-commit at gcc dot gnu.org  2011-10-25 02:54:29 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 02:54:25

Modified files:
bfd: ChangeLog elflink.c 

Log message:
PR ld/13229
PR ld/13244
Apply mainline patches
2011-10-08  Alan Modra  
* elflink.c (elf_link_add_object_symbols): Don't make IR symbols
dynamic.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.9&r2=1.5473.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.4&r2=1.420.2.5

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13229] V2 of getsymbol linker plugin interface is not supported by GNU LD

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13229

--- Comment #21 from cvs-commit at gcc dot gnu.org  2011-10-25 02:54:28 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 02:54:25

Modified files:
bfd: ChangeLog elflink.c 

Log message:
PR ld/13229
PR ld/13244
Apply mainline patches
2011-10-08  Alan Modra  
* elflink.c (elf_link_add_object_symbols): Don't make IR symbols
dynamic.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.9&r2=1.5473.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.4&r2=1.420.2.5

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13250] unresolvable R_X86_64_64 relocations with ld --as-needed

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13250

--- Comment #9 from cvs-commit at gcc dot gnu.org  2011-10-25 02:57:27 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 02:57:24

Modified files:
bfd: ChangeLog elflink.c 
ld/testsuite   : ChangeLog 
ld/testsuite/ld-elf: shared.exp 
Added files:
ld/testsuite/ld-elf: pr13250-1.c pr13250-2.c pr13250-3.c 

Log message:
PR ld/13250
bfd/
2011-10-08  H.J. Lu  
* elflink.c (elf_link_add_object_symbols): Preserve the maximum
alignment and size for common symbols.
ld/testsuite/
2011-10-08  H.J. Lu  
* ld-elf/shared.exp (build_tests): Add tests for PR ld/13250.
(run_tests): Likewise.
* ld-elf/pr13250-1.c: New.
* ld-elf/pr13250-2.c: Likewise.
* ld-elf/pr13250-3.c: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.10&r2=1.5473.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.5&r2=1.420.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1460.2.6&r2=1.1460.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13250-1.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13250-2.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/pr13250-3.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-elf/shared.exp.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.17&r2=1.17.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13257] NM + plugin does not list correctly symbols in thin archives

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13257

--- Comment #4 from cvs-commit at gcc dot gnu.org  2011-10-25 03:03:19 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:03:15

Modified files:
bfd: ChangeLog archive.c 

Log message:
PR binutils/13257
2011-10-11  Alan Modra  
* archive.c (_bfd_find_nested_archive, _bfd_get_elt_at_filepos): Open
thin archive element using container target if not defaulted.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.12&r2=1.5473.2.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.77&r2=1.77.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13278] --plugin doesn't work on archive

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13278

--- Comment #8 from cvs-commit at gcc dot gnu.org  2011-10-25 03:04:39 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:04:34

Modified files:
bfd: ChangeLog archive.c 

Log message:
PR binutils/13278
2011-10-11  Alan Modra  
* archive.c (bfd_generic_archive_p): Only check first element
when target_defaulted.
(_bfd_construct_extended_name_table): Use ar_maxnamelen.
(_bfd_archive_bsd44_construct_extended_name_table): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.13&r2=1.5473.2.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/archive.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.77.2.1&r2=1.77.2.2

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13278] --plugin doesn't work on archive

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13278

--- Comment #9 from cvs-commit at gcc dot gnu.org  2011-10-25 03:08:45 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:08:40

Modified files:
binutils   : ChangeLog ar.c 

Log message:
PR binutils/13278
2011-10-16  H.J. Lu  
* ar.c (open_inarch): Set the target from the the first object
on the list only if it isn't set.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.1831&r2=1.1831.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ar.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.78&r2=1.78.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13195] -ffunction-sections -Wl,--gc-sections failure with symbol versioning

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13195

--- Comment #10 from cvs-commit at gcc dot gnu.org  2011-10-25 03:09:40 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:09:34

Modified files:
bfd: ChangeLog elf64-ppc.c 

Log message:
PR ld/12975
PR ld/13195
2011-10-17  Alan Modra  
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15
and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.14&r2=1.5473.2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.363.2.2&r2=1.363.2.3

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/12975] --gc-sections doesn't remove symbols hidden with version scripts

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12975

--- Comment #9 from cvs-commit at gcc dot gnu.org  2011-10-25 03:09:40 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:09:34

Modified files:
bfd: ChangeLog elf64-ppc.c 

Log message:
PR ld/12975
PR ld/13195
2011-10-17  Alan Modra  
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15
and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.14&r2=1.5473.2.15
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.363.2.2&r2=1.363.2.3

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13254] -z text warning breaks gcc testsuite on Solaris

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13254

--- Comment #5 from cvs-commit at gcc dot gnu.org  2011-10-25 03:12:22 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:12:18

Modified files:
bfd: ChangeLog elflink.c 
include: ChangeLog bfdlink.h 
ld : ChangeLog 
ld/emultempl   : elf32.em 

Log message:
PR ld/13254
include/
2011-10-19  Alan Modra  
* bfdlink.h (struct bfd_link_info): Add error_textrel.
bfd/
2011-10-19  Alan Modra  
* elflink.c (bfd_elf_final_link): Emit error_textrel error.
ld/
2011-10-19  Alan Modra  
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z text, -z notext, -z textoff options for all targets having
shared lib support.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.15&r2=1.5473.2.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.6&r2=1.420.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.549.2.1&r2=1.549.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/include/bfdlink.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.92&r2=1.92.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.2373.2.5&r2=1.2373.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.223&r2=1.223.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13311] internal error, aborting at bfd.c line 649 in _bfd_default_error_handler

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13311

--- Comment #7 from cvs-commit at gcc dot gnu.org  2011-10-25 03:13:36 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:13:33

Modified files:
bfd: ChangeLog elflink.c 

Log message:
PR ld/13311
2011-10-19  Alan Modra  
* elflink.c (elf_link_output_extsym): Correct test for warning when
forced local executable syms are referenced from shared libraries.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.5473.2.16&r2=1.5473.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.420.2.7&r2=1.420.2.8

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13287] g++ -Wl,--as-needed -flto doesn't work with the BFD linker, but with gold

2011-10-24 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13287

--- Comment #5 from cvs-commit at gcc dot gnu.org  2011-10-25 03:15:13 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:amo...@sourceware.org2011-10-25 03:15:08

Modified files:
ld : ChangeLog ldlang.c plugin.c plugin.h 

Log message:
PR ld/13287
2011-10-20  Alan Modra  
* plugin.c (plugin_should_reload): New function.
* plugin.h (plugin_should_reload): Declare.
* ldlang.c (open_input_bfds): Use above function.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.2373.2.6&r2=1.2373.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.378&r2=1.378.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.40.2.2&r2=1.40.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/plugin.h.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.9&r2=1.9.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13235] gcc's -freorder-blocks-and_partition results in ld misoptimizing -mcmodel=medium code

2011-10-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13235

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Alan Modra  2011-10-25 03:19:50 
UTC ---
Fixed

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13244] GNU LD incorrectly complain about undefined hidden symbols with LTO

2011-10-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13244

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Alan Modra  2011-10-25 03:23:03 
UTC ---
Fixed

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13254] -z text warning breaks gcc testsuite on Solaris

2011-10-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13254

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #6 from Alan Modra  2011-10-25 03:28:33 
UTC ---
Fixed

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug binutils/13311] internal error, aborting at bfd.c line 649 in _bfd_default_error_handler

2011-10-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13311

--- Comment #8 from Alan Modra  2011-10-25 03:29:47 
UTC ---
Fixed

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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


[Bug ld/13287] g++ -Wl,--as-needed -flto doesn't work with the BFD linker, but with gold

2011-10-24 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13287

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #6 from Alan Modra  2011-10-25 03:30:41 
UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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