[Bug ld/10865] The entry point is mainCRTStartup
https://sourceware.org/bugzilla/show_bug.cgi?id=10865 Christopher Yeleighton changed: What|Removed |Added URL||https://sourceware.org/binu ||tils/docs/ld/Entry-Point.ht ||ml#Entry-Point --- Comment #6 from Christopher Yeleighton --- It seems it should say "PE- and BeOS-based systems" though. -- 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 ld/10865] The entry point is mainCRTStartup
https://sourceware.org/bugzilla/show_bug.cgi?id=10865 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8a758655b3ee39bed245a6ba2fc9f81f77813443 commit 8a758655b3ee39bed245a6ba2fc9f81f77813443 Author: Nick Clifton Date: Mon Nov 12 15:12:15 2018 + Update documentation describing how the linker chooses a start address. PR 10865 * ld.texi (Entry Point): Make it clear that the text refers to PE-based systems rather than just a PE system. -- 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/23880] New: Gold can't handle .gnu.build.attributes section with relocations
https://sourceware.org/bugzilla/show_bug.cgi?id=23880 Bug ID: 23880 Summary: Gold can't handle .gnu.build.attributes section with relocations Product: binutils Version: 2.32 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: hjl.tools at gmail dot com CC: ian at airs dot com Target Milestone: --- [hjl@gnu-cfl-1 testsuite]$ `echo g++ -W -Wall-Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -fno-use-linker-plugin -o gc_comdat_test | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -Wl,--gc-sections gc_comdat_test_1.o gc_comdat_test_2.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o(.gnu.build.attributes+0x14): error: relocation refers to local symbol "" [1], which is defined in a discarded section /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o(.gnu.build.attributes+0x1c): error: relocation refers to local symbol "" [1], which is defined in a discarded section /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o(.gnu.build.attributes+0x14): error: relocation refers to local symbol "" [2], which is defined in a discarded section /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o(.gnu.build.attributes+0x1c): error: relocation refers to local symbol "" [2], which is defined in a discarded section /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o(.gnu.build.attributes+0x14): error: relocation refers to local symbol "" [1], which is defined in a discarded section /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o(.gnu.build.attributes+0x1c): error: relocation refers to local symbol "" [1], which is defined in a discarded section collect2: error: ld returned 1 exit status [hjl@gnu-cfl-1 testsuite]$ readelf -r /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o Relocation section '.rela.init' at offset 0x290 contains 1 entry: Offset Info Type Sym. ValueSym. Name + Addend 000b 0009002a R_X86_64_REX_GOTP __gmon_start__ - 4 Relocation section '.rela.gnu.build.attributes' at offset 0x2a8 contains 6 entries: Offset Info Type Sym. ValueSym. Name + Addend 0014 00010001 R_X86_64_64 .text + 0 001c 00010001 R_X86_64_64 .text + 0 0038 00020001 R_X86_64_64 .init + 0 0040 00020001 R_X86_64_64 .init + 16 005c 00030001 R_X86_64_64 .fini + 0 0064 00030001 R_X86_64_64 .fini + 8 [hjl@gnu-cfl-1 testsuite]$ -- 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/23881] New: pdp11 binutils fails if too much debug data
https://sourceware.org/bugzilla/show_bug.cgi?id=23881 Bug ID: 23881 Summary: pdp11 binutils fails if too much debug data Product: binutils Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: pkoning at equallogic dot com Target Milestone: --- Created attachment 11390 --> https://sourceware.org/bugzilla/attachment.cgi?id=11390&action=edit test file full of .stabs data For pdp11, the linker is happy to generate outputs with many kB of debug data, but beyond a certain point such files are not readable in nm or objdump. To reproduce, assemble the two attached files and link as: pdp11-aout-ld testdbg.o testdbg.o testdbg.o testdbg.o maindbg.o Then objdump fails this way: pdp11-aout-objdump -t a.out a.out: file format a.out-pdp11 /usr/local/pdp11-aout/bin/pdp11-aout-objdump: failed to read symbol table from: a.out /usr/local/pdp11-aout/bin/pdp11-aout-objdump: error message was: file in wrong format If I link testdbg.o just once or twice, objdump works fine. -- 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/23881] pdp11 binutils fails if too much debug data
https://sourceware.org/bugzilla/show_bug.cgi?id=23881 --- Comment #1 from Paul Koning --- Created attachment 11391 --> https://sourceware.org/bugzilla/attachment.cgi?id=11391&action=edit main program to link with testdbg.S -- 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