bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/22266] ld.gold produces invalid output when linking with --rel


From: hjl.tools at gmail dot com
Subject: [Bug gold/22266] ld.gold produces invalid output when linking with --relocatable
Date: Tue, 14 Nov 2017 16:36:18 +0000

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 10589
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10589&action=edit
A testcase

address@hidden tmp]$ ld.bfd -m elf_i386 -r -T
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/pr22266_script.t -o
pr22266_ar.o pr22266_a.o
address@hidden tmp]$ gcc -m32 pr22266_main.o pr22266_ar.o
address@hidden tmp]$ ./a.out
address@hidden tmp]$
/export/build/linux/binutils-x32/build-x86_64-linux-gnux32/gold/ld-new -m
elf_i386 -r -T
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/pr22266_script.t -o
pr22266_ar.o pr22266_a.o
address@hidden tmp]$ gcc -m32 pr22266_main.o pr22266_ar.o
address@hidden tmp]$ ./a.out
Aborted
address@hidden tmp]$

-- 
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]