[PATCH] [COFF] Add support for .secref and .offset directives

Eric Christopher echristo at gmail.com
Thu Dec 19 16:25:21 PST 2013


  Is gas unable to do this sort of thing? If it is able it'd be good to copy the syntax from there.


================
Comment at: test/MC/COFF/static_offset.s:15
@@ +14,3 @@
+// CHECK:       SectionData (
+// CHECK-NEXT:    0000: 03000000 90909003 000000
+// CHECK-NEXT:  )
----------------
If you could explain the numbers here in a comment it would be appreciated.

================
Comment at: test/MC/COFF/secref.s:8
@@ +7,3 @@
+
+// CHECK:       Relocations [
+// CHECK-NEXT:    0x0 IMAGE_REL_I386_SECTION .text
----------------
What about cross section relocations?


http://llvm-reviews.chandlerc.com/D2445



More information about the llvm-commits mailing list