[PATCH] [yaml2obj] Support AArch64 relocations.

Shankar Kalpathi Easwaran shankarke at gmail.com
Mon Nov 10 07:21:33 PST 2014


================
Comment at: test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml:26-27
@@ +25,4 @@
+    Content:         0000000000000000
+  - Type:            SHT_REL
+    Name:            .rel.text
+    Link:            .symtab
----------------
While the ABI says AARCH64 can have .rel/.rela relocation records, rela is what is consistently used. I think we should stick to .rela in the test as well.

Aside that, is there a way to check that the yaml2obj can check for the type of relocation records thats emitted by the tool ? If so I think it would be nice to have the feature as well.

http://reviews.llvm.org/D6192






More information about the llvm-commits mailing list