[Bug ld/17592] New: x86-64 linker generates wrong PLT for large model

2014-11-12 Thread hjl.tools at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com When PLT is more 2GB from GOT, we must use large model PLT layout. Otherwise, PLT entry can't load GOT entry: [hjl@gnu-6 large-2]$ cat main.c extern void foo (void); extern voi

[Bug gold/17593] New: x86-64 gold generates wrong PLT for large model

2014-11-12 Thread hjl.tools at gmail dot com
Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com When PLT is more 2GB from GOT, we must use large model PLT layout. Otherwise, PLT entry can't load GOT entry: [hjl@gnu-6 pr17592]$ cat main.c e

[Bug gas/17598] New: R_X86_64_GOTPLT64 relocation isn't tested

2014-11-13 Thread hjl.tools at gmail dot com
onent: gas Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com X86-64 has R_X86_64_GOTPLT64 relocation. But it isn't tested. -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug gas/17598] R_X86_64_GOTPLT64 relocation isn't tested

2014-11-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17598 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #2 from H.J. Lu --- Fixed

[Bug ld/17592] x86-64 linker generates wrong PLT for large model

2014-11-17 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17592 --- Comment #2 from H.J. Lu --- (In reply to Michael Matz from comment #1) > Back in http://www.sourceware.org/ml/binutils/2006-03/msg00276.html > I suggested to place .plt after .text so that PLT and GOT are nearer > to each other. In that c

[Bug ld/17592] x86-64 linker generates wrong PLT for large model

2014-11-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17592 --- Comment #4 from H.J. Lu --- (In reply to Michael Matz from comment #3) > (In reply to H.J. Lu from comment #2) > > It is an interesting idea. > > Yeah, that's how I tested the large model back in the days when I implemented > some of it.

[Bug ld/17592] x86-64 linker generates wrong PLT for large model

2014-11-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17592 --- Comment #6 from H.J. Lu --- (In reply to Michael Matz from comment #5) > (In reply to H.J. Lu from comment #4) > > When there is a large readonly section, it makes no differences between > > > > text, plt, readonly, got > > > > and > >

[Bug ld/17592] x86-64 linker generates wrong PLT for large model

2014-11-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17592 --- Comment #7 from H.J. Lu --- (In reply to Michael Matz from comment #5) > (In reply to H.J. Lu from comment #4) > > When there is a large readonly section, it makes no differences between > > > > text, plt, readonly, got > > > > and > >

[Bug ld/17618] New: Linker fails to check PC-relative offset overflow in PLT entry

2014-11-18 Thread hjl.tools at gmail dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com X86-64 linker fails to check PC-relative offset overflow in PLT entry: [hjl@gnu-6 plt]$ cat foo.c #include void foo (void) { printf ("PASS\n"

[Bug gold/17619] New: Gold fails to check PC-relative offset overflow in PLT entry

2014-11-18 Thread hjl.tools at gmail dot com
Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com On Linux/x86-64, gold fails to check PC-relative offset overflow in PLT entry: [hjl@gnu-6 pr17618]$ cat main.c extern

[Bug gold/17619] Gold fails to check PC-relative offset overflow in PLT entry

2014-11-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17619 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/17640] New: [i386] Convert load to lea

2014-11-24 Thread hjl.tools at gmail dot com
Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com For i386, we should convert mov foo@GOT(%reg), %reg to lea foo@GOTOFF(%reg), %reg if foo is a local symbol. This is the result from ld: [hjl@gnu-6 lea-1]$ cat

[Bug gold/17641] New: [x86-64] Convert load to lea

2014-11-24 Thread hjl.tools at gmail dot com
Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com For x86-64, gold should convert mov foo@GOTPCREL(%rip), %reg to lea foo(%rip), %reg if foo is a local symbol, like ld: [hjl@gnu-6 lea-4]$ cat lea2.s .text

[Bug gold/17643] New: [x86-64] missing -z bndplt support

2014-11-24 Thread hjl.tools at gmail dot com
Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com For Intel MPX, R_X86_64_*_BND relocations are not enough in case of indirect calls like: foo: movqfp@GOTPCREL(%rip), %rax bnd jmp *(%rax

[Bug gold/17644] New: Optimize out i386/x86-64 JUMP_SLOT relocation

2014-11-25 Thread hjl.tools at gmail dot com
Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com When there are both PLT and GOT references to the same function symbol, linker will create a GOTPLT slot for PLT entry and a GOT slot for GOT reference. A

[Bug binutils/16496] readelf/objdump fail to display symbol version in dynamic relocation

2014-11-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16496 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #6 from H.J. Lu --- Fixed

[Bug gold/17675] New: pie_copyrelocs_test fails with GCC 4.2

2014-12-03 Thread hjl.tools at gmail dot com
: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com On Linux/x86-64 with GCC 4.2, I got /usr/gcc-4.2/bin/g++ -W -Wall-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -Bgcctestdir/ -Wl

[Bug gold/17675] pie_copyrelocs_test fails with GCC 4.2

2014-12-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17675 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130

2014-12-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from H.J. Lu --- Fo

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130

2014-12-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity

2014-12-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 H.J. Lu changed: What|Removed |Added Summary|_bfd_elf_get_synthetic_symt |_bfd_elf_get_synthetic_symt

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity

2014-12-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW Target Milestone|---

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity

2014-12-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 --- Comment #6 from H.J. Lu --- Also need this commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b7365e5df5b41bc23a2a1464d93ed6435d87a056 -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity

2014-12-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17677 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17689] PIE copy relocations handling broken with ld.bfd

2014-12-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17689 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17709] New: [2.26 Regression] elf/vismain test in glibc failed

2014-12-14 Thread hjl.tools at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: amodra at gmail dot com On Linux/x86-64, I got /usr/local/bin/ld: copy reloc against protected `protvaritcpt' is invalid /usr/local/bin/ld: failed to set dy

[Bug ld/17709] [2.26 Regression] elf/vismain test in glibc failed

2014-12-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17709 H.J. Lu changed: What|Removed |Added Blocks||17711 -- You are receiving this mail becau

[Bug ld/17709] [2.26 Regression] elf/vismain test in glibc failed

2014-12-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17709 --- Comment #1 from H.J. Lu --- It is related to glibc PR 17711. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http

[Bug ld/17713] 64-bit linker fails("Segment Fault") call libbfd

2014-12-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17713 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/17729] New: [gold] gold failed to build x32 libgo

2014-12-18 Thread hjl.tools at gmail dot com
Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com When gold is used to build libgo for x32, I got many: ld.gold: error: .libs/go-assert.o: failed to match split-stack sequence at section 1 offset 0 ld.gold: error

[Bug gold/17729] [gold] gold failed to build x32 libgo

2014-12-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17729 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #1 from H.J. Lu --- A pat

[Bug ld/17615] aarch64: ld.bfd generates SHN_ABS instead of SHN_UNDEF

2014-12-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17615 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #10

[Bug gold/17735] New: gold doesn't set ELFOSABI_GNU for IFUNC

2014-12-19 Thread hjl.tools at gmail dot com
onent: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com gold doesn't set ELFOSABI_GNU for IFUNC: [hjl@gnu-tools-1 tmp]$ cat libb.c void new_sd_get_seats(void); static void (*resolve_sd_get_seats(vo

[Bug gold/17735] gold doesn't set ELFOSABI_GNU for IFUNC nor STB_GNU_UNIQUE

2014-12-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17735 H.J. Lu changed: What|Removed |Added Summary|gold doesn't set|gold doesn't set |ELFOSAB

[Bug gold/14608] --detect-odr-violations doesn't work with GCC 4.7

2014-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14608 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #1 from H.J. Lu --- resol

[Bug gold/14608] --detect-odr-violations doesn't work with GCC 4.7 and newer

2014-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14608 H.J. Lu changed: What|Removed |Added Summary|--detect-odr-violations |--detect-odr-violations |

[Bug gold/14608] --detect-odr-violations doesn't work with GCC 4.7 and newer

2014-12-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14608 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17773] Gap between sections and section headers when ld -s is used

2014-12-30 Thread hjl.tools at gmail dot com
||hjl.tools at gmail dot com --- Comment #1 from H.J. Lu --- Please provide a small standalone testcase. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https

[Bug ld/17773] Gap between sections and section headers when ld -s is used

2014-12-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17773 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug ld/17773] Gap between sections and section headers when ld -s is used

2014-12-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17773 --- Comment #5 from H.J. Lu --- A patch is posted at https://sourceware.org/ml/binutils/2014-12/msg00313.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-b

[Bug ld/17773] Gap between sections and section headers when ld -s is used

2015-01-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17773 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/17795] New: Initial-Exec to Local-Exec may change the previous instruction

2015-01-05 Thread hjl.tools at gmail dot com
Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com [hjl@gnu-6 gold]$ cat x.s .text .globl _start _start: movq%fs:0, %rax addl$0x4c00,%ebx

[Bug gold/17795] Initial-Exec to Local-Exec may change the previous instruction

2015-01-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17795 --- Comment #1 from H.J. Lu --- The same thing happens with ld.bfd: [hjl@gnu-6 pr17795]$ make LD=ld.bfd cc -O2 -c x.s ld.bfd -o x x.o objdump -dw x x: file format elf64-x86-64 Disassembly of section .text: 004000e8 <_start>:

[Bug gold/17809] New: Initial-Exec to Local-Exec isn't handled properly for x32

2015-01-06 Thread hjl.tools at gmail dot com
ormal Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com [hjl@gnu-6 gold]$ cat x.s .text .globl _start _start: movfoo@GOTTPOFF(%rip), %eax addfoo@GOT

[Bug gold/17809] Initial-Exec to Local-Exec isn't handled properly for x32

2015-01-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17809 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gold/17729] [gold] gold failed to build x32 libgo

2015-01-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17729 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17826] ld dies with "corrupted double-linked list" when trying to link ELF objects both -pie and -static

2015-01-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17826 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Version|2.26 (HEAD)

[Bug ld/17826] ld dies with "corrupted double-linked list" when trying to link ELF objects both -pie and -static

2015-01-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17826 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME

[Bug ld/16428] autoconf tests don't terminate on ix86-linux-gnu with -static -fPIE -pie on glibc-2.18 based systems

2015-01-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16428 H.J. Lu changed: What|Removed |Added CC||blueness at gentoo dot org --- Comment #7 f

[Bug ld/17827] New: PIE copy relocations are broken with pointers

2015-01-11 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com On Linux/x86-64 with GCC 5: [hjl@gnu-tools-1 pr17689-2]$ cat x.c #if 0 #include extern char *program_invocation_name; int main () { printf ("%s\n", program_invocation_name); return

[Bug ld/17827] PIE copy relocations are broken with pointers

2015-01-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17827 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17842] [ARM] Gap between sections and section headers when ld -s is used.

2015-01-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17842 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #1 from H.J. Lu --- A pat

[Bug ld/17847] New: Confusing linker error message

2015-01-15 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com [hjl@gnu-6 pie-6]$ cat x.S .text .global _start _start: movlfoo(%rip), %eax [hjl@gnu-6 pie-6]$ make gcc -B./-c -o x.o x.S ./ld -o x -pie x.o x.o: In function `_start': (.tex

[Bug ld/17847] Confusing linker error message

2015-01-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17847 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17615] aarch64: ld.bfd generates SHN_ABS instead of SHN_UNDEF

2015-01-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17615 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/17878] Need support on bfd ld for LLVMgold.so plugin

2015-01-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17878 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug ld/17878] Need support on bfd ld for LLVMgold.so plugin

2015-01-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17878 --- Comment #2 from H.J. Lu --- BFD linker assumes LTO IR is contained in sections of the target ELF object file. It is true for GCC LTO IR, but false for llvm LTO IR. It won't be easy to fix it. -- You are receiving this mail because: You

[Bug gold/17896] New: Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com There are ld_plugin_status Plugin_manager::release_input_file(unsigned int handle) { if (this->object(handle) == N

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 H.J. Lu changed: What|Removed |Added Version|unspecified |2.26 (HEAD) -- You are receiving this mail

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #1 from H.J. Lu --- A pat

[Bug gold/15660] out of file descriptors and couldn't close any

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15660 H.J. Lu changed: What|Removed |Added Depends on||17896 -- You are receiving this mail becau

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 --- Comment #3 from H.J. Lu --- (In reply to Cary Coutant from comment #2) > Do you have a case where gold is running out of file descriptors? Unlocking > the file doesn't close the descriptor immediately, but it should make that > descriptor

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW Blocks|

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 --- Comment #4 from H.J. Lu --- With this patch: https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02508.html Plugin_manager::release_input_file may be called from the claim_file hook. It isn't prepared to deal with it. -- You are receiving th

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 --- Comment #6 from H.J. Lu --- Created attachment 8088 --> https://sourceware.org/bugzilla/attachment.cgi?id=8088&action=edit A updated patch No need to call release. We only need to deal with called from the claim_file hook. -- You are

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 --- Comment #7 from H.J. Lu --- (In reply to Cary Coutant from comment #5) > (In reply to H.J. Lu from comment #4) > > With this patch: > > > > https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02508.html > > > > Plugin_manager::release_input_fi

[Bug gold/15660] out of file descriptors and couldn't close any

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15660 --- Comment #13 from H.J. Lu --- This is related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils

[Bug gold/15660] out of file descriptors and couldn't close any

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15660 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug gold/17896] Plugin_manager::release_input_file leaks file descriptors

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17896 H.J. Lu changed: What|Removed |Added CC||marxin.liska at gmail dot com --- Comment #

[Bug gold/15660] out of file descriptors and couldn't close any

2015-01-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=15660 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/12365] undefined references produced by linker plugin are silently ignored

2015-02-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12365 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Version|unspecified

[Bug ld/12365] undefined references produced by linker plugin are silently ignored

2015-02-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12365 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined

2015-02-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14272 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug ld/17931] New: --gc-sections doesn't work on section in a group

2015-02-05 Thread hjl.tools at gmail dot com
y: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com [hjl@gnu-6 gc-3]$ cat x.s .global _start _start: call bar .section.text.bar,"axG",@progbits,foo,comdat .weakbar .typeba

[Bug ld/17935] New: -z text should provide more info

2015-02-06 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com ld should provide more info to help user identify the issue: [hjl@gnu-6 textrel-2]$ cat foo.s .text .globlfoo .typefoo, @function foo: ret .sizefoo, .-foo .text

[Bug ld/17935] -z text should provide more info

2015-02-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17935 --- Comment #1 from H.J. Lu --- Shouldn't -z text turn on --warn-shared-textrel or at least inform user to turn on --warn-shared-textrel to get more info? -- You are receiving this mail because: You are on the CC list for the bug. _

[Bug ld/17935] -z text should provide more info

2015-02-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17935 --- Comment #2 from H.J. Lu --- -warn-shared-textrel warning is only implemented in elf32-i386.c and elf64-x86-64.c. -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/17935] -z text should provide more info

2015-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17935 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17935] -z text should provide more info

2015-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17935 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 -- You are receiving this mail becaus

[Bug gold/17942] New: -z text should provide more info

2015-02-07 Thread hjl.tools at gmail dot com
Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com gold should provide more info to help user identify the issue: [hjl@gnu-tools-1 pr17935]$ cat foo.s .text .globl foo foo: .byte 0 .globlbar bar

[Bug ld/17878] Need support on bfd ld for LLVMgold.so plugin

2015-02-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17878 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17973] New: Useless FILE entries in symbol table

2015-02-13 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com ld generates useless FILE entries in symbol table: [hjl@gnu-6 symtab-2]$ cat foo.s .text .globlfoo .typefoo, @function foo: .cfi_startproc rep ret .cfi_endproc

[Bug ld/17973] Useless FILE entries in symbol table

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17973 H.J. Lu changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 from

[Bug ld/17973] Useless FILE entries in symbol table

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17973 --- Comment #2 from H.J. Lu --- A patch is posted at https://sourceware.org/ml/binutils/2015-02/msg00193.html -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-b

[Bug ld/17975] New: Useless FILE entry in symbol table linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com [hjl@gnu-6 new-2]$ cat foo.s .data foo: .dc.a bar [hjl@gnu-6 new-2]$ make as -o foo.o foo.s ./ld -shared -o lib.so foo.o readelf -sW lib.so | grep

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 H.J. Lu changed: What|Removed |Added CC||amodra at gmail dot com Summary|

[Bug ld/17973] Useless FILE entries in symbol table

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17973 --- Comment #3 from H.J. Lu --- Maybe we should fix GCC instead: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65015#c17 -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 H.J. Lu changed: What|Removed |Added CC||jbeulich at novell dot com -- You are rece

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 --- Comment #2 from H.J. Lu --- A NULL STT_FILE symbol is useful here: [hjl@gnu-6 pr17975]$ cat foo.s .data foo: .dc.a bar [hjl@gnu-6 pr17975]$ cat bar.s .data foo: .dc.a bar [hjl@gnu-6 pr17975]$ cat global.s .data .

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 --- Comment #1 from H.J. Lu --- How useful is adding add another NULL STT_FILE symbol before outputting linker generated symbols or symbols defined by linker scripts? Do we have a testcase to show it is necessary? -- You are receiving this

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 --- Comment #3 from H.J. Lu --- We should generate a A NULL STT_FILE symbol before a forced_local symbol which isn't linker created nor defined by linker script. -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug ld/17973] Useless FILE entries in symbol table

2015-02-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17973 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/17975] Useless FILE entry in symbol table for linker generated symbols

2015-02-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17975 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/18028] New: 32-bit ld runs out of memory when linking 32-bit clang with debug info

2015-02-25 Thread hjl.tools at gmail dot com
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com On Linux/x86, 32-bit ld runs out of memeory when linking 32-bit clang with debug info: [hjl@gnu-mic-2 build-i686-linux]$ /usr/local32/bin/ld.bfd

[Bug ld/17709] [2.26 Regression] elf/vismain test in glibc failed

2015-03-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17709 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gold/18097] New: Gold doesn't support SORT_NONE in linker script

2015-03-09 Thread hjl.tools at gmail dot com
y: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com [hjl@gnu-6 gold]$ cat foo0.s .section .foo,"ax",@progbits .globl foo .typefoo,%function foo: .byte 0 [hjl@gnu-6 gold]

[Bug gold/18098] New: Gold doesn't support SORT_BY_INIT_PRIORITY in linker script

2015-03-09 Thread hjl.tools at gmail dot com
ormal Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com [hjl@gnu-6 gold]$ cat foo0.s .section .foo,"ax",@progbits .globl foo .typefoo,%function foo:

[Bug binutils/18101] New: readelf -s --wide doesn't report error

2015-03-10 Thread hjl.tools at gmail dot com
onent: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com [hjl@gnu-tools-1 build-x86_64-linux]$ readelf -s --wide [hjl@gnu-tools-1 build-x86_64-linux]$ echo $? 0 [hjl@gnu-tools-1 build-x86_64-linux]$ -- You are receiving this mail because

[Bug gold/18102] gold -r generates corrupted relocatable file

2015-03-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18102 H.J. Lu changed: What|Removed |Added Summary|gold -r generates wrong |gold -r generates corrupted

[Bug gold/18102] New: gold -r generates wrong relocatable file

2015-03-10 Thread hjl.tools at gmail dot com
: gold Assignee: ccoutant at google dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com On Linux/x86-64, when gold is used to generate libc_pic.os: gcc -fuse-ld=gold -nostdlib -nostartfiles -r -o /export/build/gnu/glibc-test/build-x86_64-linux

<    1   2   3   4   5   6   7   8   9   10   >