[Top][All Lists]

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

[Bug gas/26694] gas x86-32: "can't handle non absolute segment in `lcall

From: hjl.tools at gmail dot com
Subject: [Bug gas/26694] gas x86-32: "can't handle non absolute segment in `lcall'" (or `ljmp')
Date: Sun, 04 Oct 2020 14:35:46 +0000


--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to TK Chia from comment #5)
> Created attachment 12887 [details]
> Updated patch (adds linker tests)
> (In reply to H.J. Lu from comment #4)
> > You need to test both i386 and x86-64.  Linker tests should go into
> > ld/testsuite/ld-x86-64 and ld/testsuite/ld-i386.  Please also check
> > for linker overflow errors.
> I have updated my patch (as enclosed) to add some test cases for the linker.
> Thank you!

+#name: Absolute non-overflowing relocs in ljmp segments
+#source: ../ld-i386/ljmp1.s
+#source: ../ld-i386/ljmp.s
+#ld: -z noseparate-code
+#objdump: -rs
+.*:     file format .*
+Contents of section \.text:
+[      ][0-9a-f]+ 0f22c0ea ........ 080066ea ....1800.*

Please use "objdump: -dw" in linker tests.

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]