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

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