aboutsummaryrefslogtreecommitdiffstats
path: root/arm
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-02-02 09:14:10 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-02-02 09:14:10 +0100
commit8aae10b50b321cfcbde86582cdd7ce1df8960628 (patch)
tree4e76f4d98f1bf97783c1f55fc5adcba415abfc41 /arm
parent803eb70bbbbc5749882efd2a3af339a7e05f1f62 (diff)
downloadcompcert-8aae10b50b321cfcbde86582cdd7ce1df8960628.tar.gz
compcert-8aae10b50b321cfcbde86582cdd7ce1df8960628.zip
Starting to remove the seperate printers for each backend.
Diffstat (limited to 'arm')
-rw-r--r--arm/PrintAsm.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm/PrintAsm.ml b/arm/PrintAsm.ml
index 7f511912..582b70e7 100644
--- a/arm/PrintAsm.ml
+++ b/arm/PrintAsm.ml
@@ -177,6 +177,8 @@ let name_of_section = function
| Section_user(s, wr, ex) ->
sprintf ".section \"%s\",\"a%s%s\",%%progbits"
s (if wr then "w" else "") (if ex then "x" else "")
+ | Section_debug -> sprintf ".section .debug_info,\"\",@progbits"
+ | Section_debug_abbrev -> sprintf ".section .debug_abbrev,\"\",@progbits"
let section oc sec =
fprintf oc " %s\n" (name_of_section sec)