[Bug binutils/4970] new library handling in binutils causes trouble with --enable-shared

2012-08-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4970

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #7 from H.J. Lu  2012-08-26 15:40:25 
UTC ---
Fixed by

http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=31fbd2751dfe5c835161763cda18e5ab74d43141

-- 
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/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-08-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493

--- Comment #15 from H.J. Lu  2012-08-26 16:58:00 
UTC ---
Solaris linker generates:

  [29] .symtab   SYMTAB   000f48 000650 10 30  72 
4
  [30] .strtab   STRTAB   001598 000307 00   S  0   0 
1
  [31] .comment  PROGBITS 00189f 000156 00  0   0 
1
  [32] .debug_abbrev PROGBITS 0019f5 63 00  0   0 
1
  [33] .debug_info   PROGBITS 001a58 ce 00  0   0 
1
  [34] .debug_line   PROGBITS 001b26 3d 00  0   0 
1
  [35] .debug_frame  PROGBITS 001b64 54 00  0   0 
4
  [36] .debug_pubnames   PROGBITS 001bb8 1b 00  0   0 
1
  [37] .debug_arangesPROGBITS 001bd3 20 00  0   0 
1
  [38] .shstrtab STRTAB   001bf3 00016a 00   S  0   0 
1

GNU linker generates:

  [26] .comment  PROGBITS 000650 2c 01  MS  0   0 
1
  [27] .debug_arangesPROGBITS 00067c 20 00  0   0 
1
  [28] .debug_info   PROGBITS 00069c 42 00  0   0 
1
  [29] .debug_abbrev PROGBITS 0006de 37 00  0   0 
1
  [30] .debug_line   PROGBITS 000715 32 00  0   0 
1
  [31] .debug_strPROGBITS 000747 76 01  MS  0   0 
1
  [32] .shstrtab STRTAB   0007bd 000146 00  0   0 
1
  [33] .symtab   SYMTAB   000e7c 000470 10 34  50 
4
  [34] .strtab   STRTAB   0012ec 00023c 00  0   0 
1

strip gets confused about section indices for .comment, .shstrtab,
.symtab and .strtab.

-- 
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/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-08-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493

--- Comment #16 from H.J. Lu  2012-08-26 18:11:38 
UTC ---
GNU linker never puts .symtab and .strtab in symtab.
objcopy doesn't handler them properly when they appear
in symtab.

-- 
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/14493] "strip" breaks .SUNW_ldynsym section on illumos

2012-08-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14493

--- Comment #17 from H.J. Lu  2012-08-26 20:44:19 
UTC ---
(In reply to comment #14)
> (In reply to comment #11)
> > Created attachment 6612 [details]
> > A patch
> > 
> > Please test it.
> 
> Thank you!
> 
> "strip" now seems to work properly (elfdump happy with it), but I found new
> issue with "strip -x":

Please apply this patch:

http://sourceware.org/ml/binutils/2012-08/msg00462.html

-- 
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 gas/14521] New: segv with '.section .text,"axG",@progbits,.foo,comdat'

2012-08-26 Thread hp at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14521

 Bug #: 14521
   Summary: segv with '.section .text,"axG",@progbits,.foo,comdat'
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sourceware.org
ReportedBy: h...@sourceware.org
Classification: Unclassified
Target: mmix-knuth-mmixware


See the summary.  There's a gcc configury test ("checking assembler for COMDAT
group support (GNU as)") that fails due to the SEGV from the single line:

.section .text,"axG",@progbits,.foo,comdat

(with as well as without the correct syntax, i.e. a leading space)

It might or might not be correct to assemble this without errors, but a SEGV is
not among the acceptable failure modes of the assembler.

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