bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4,


From: hjl.tools at gmail dot com
Subject: [Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later
Date: Fri, 18 Feb 2022 13:55:15 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28903

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
$ ld -b elf64-x86-64 -m elf_x86_64 -Map myprog.map -L. link.res -o x
ld: warning: link.res contains output sections; did you forget -T?

has given you a clue that -T was missing.  With my attached linker script, I
got

[hjl@gnu-tgl-3 pr28903]$ make
ld -b elf64-x86-64 -m elf_x86_64 -Map myprog.map -L. -T link.res -o x
./x
hello
[hjl@gnu-tgl-3 pr28903]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]