[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #8 from H.J. Lu --- Need a self contained testcase. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #7 from Florian Weimer --- (In reply to H.J. Lu from comment #6) > Can elf/tst-dl_find_object in glibc test be used as a testcase? I don't think so. The failure you saw has a different cause: we do not initialize l_contiguous for

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from H.J. Lu --- Ca

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #5 from Andreas Schwab --- No, dwz optimizes the (separate) debug info. eh-opt is a linker pass, see bfd/elf-eh-frame.c -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #4 from Florian Weimer --- Could this be the result of running dwz on the binary? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #3 from Andreas Schwab --- I don't think separate-code has any influence here, since the hole is between two non-exec sections. .eh_frame ends at 0xa2830, but .init_array starts at 0xa4130. Perhaps the effect of .eh_frame optimis

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 Florian Weimer changed: What|Removed |Added CC||fweimer at redhat dot com --- Commen

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 --- Comment #1 from Andreas Schwab --- That's a 4096 byte hole. What is the section to segment mapping? -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28743] BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 Florian Weimer changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug ld/28743] New: BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux

2022-01-03 Thread fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28743 Bug ID: 28743 Summary: BFD ld: ELF LOAD segments creating holes in the process image on GNU/Linux Product: binutils Version: 2.37 Status: NEW Severity: norma