[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17498] gold includes far more symbols in symtab than bfd ld
From: |
rafael.espindola at gmail dot com |
Subject: |
[Bug gold/17498] gold includes far more symbols in symtab than bfd ld |
Date: |
Thu, 04 Jun 2015 21:24:26 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17498
--- Comment #6 from Rafael Ávila de Espíndola <rafael.espindola at gmail dot
com> ---
(In reply to Cary Coutant from comment #5)
> Testcase, please.
>From the description:
$ 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 '
0000000000000728 r __FRAME_END__
$ gcc -shared -fPIC test.cpp -o test.so -fuse-ld=gold -O2 && nm test.so | grep
' r '
0000000000000760 r __FRAME_END__
00000000000006f5 r .LC0
note the extra .LC0 with gold.
> I'm not sure what you're asking for here, though. You want to make -X the
> default?
Yes, just have the some default for --discard-locals/-X as bfd ld.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, rafael.espindola at gmail dot com, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, rafael.espindola at gmail dot com, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, ccoutant at gmail dot com, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, ccoutant at gmail dot com, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld,
rafael.espindola at gmail dot com <=
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, ccoutant at gmail dot com, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, cvs-commit at gcc dot gnu.org, 2015/06/04
- [Bug gold/17498] gold includes far more symbols in symtab than bfd ld, ccoutant at gmail dot com, 2015/06/05