[Bug gas/17421] Internal error in output_insn during kernel build

2014-10-20 Thread jbeulich at novell dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17421

Jan Beulich  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||jbeulich at novell dot com
 Resolution|FIXED   |---

--- Comment #8 from Jan Beulich  ---
As was pointed out in email
(https://sourceware.org/ml/binutils/2014-09/msg00204.html), the fix is wrong
and should be reverted/adjusted: VEX-encoded instructions are, according to
current documentation at least, only unsupported in Real and VM86 modes; 16-bit
protected mode is not being listed in section "Exception Conditions for
VEX-Encoded GPR Instructions" (and similarly for any of the SIMD ones).

-- 
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 gold/17498] New: gold includes far more symbols in symtab than bfd ld

2014-10-20 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17498

Bug ID: 17498
   Summary: gold includes far more symbols in symtab than bfd ld
   Product: binutils
   Version: 2.26 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gold
  Assignee: ccoutant at google dot com
  Reporter: rafael.espindola at gmail dot com
CC: ian at airs dot com

Linking clang with gold produces a binary with 185552 symbols in .symtab. With
gnu ld, only 60018.

The result is that when using --strip-all both linkers produce binaries of
comparable sizes, but without it the one produced by gold is 4.3 MB bigger.

The entire difference seems to come from bfd hiding .L symbols:

$ cat test.cpp
void g(const char* x);
void f() {
  g("aoeuaoeuaoeuao");
}
$ gcc -shared -fPIC  test.cpp -o test.so -fuse-ld=bfd -O2 && nm test.so | grep
' r '
0728 r __FRAME_END__
$ gcc -shared -fPIC  test.cpp -o test.so -fuse-ld=gold -O2 && nm test.so | grep
' r '
0760 r __FRAME_END__
06f5 r .LC0

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