aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-12-17 10:32:01 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-12-17 10:32:01 +0100
commit0af96302ae861e35c7e2dace1182e30be0b67851 (patch)
tree6ea2433290ca1bcff17b0c83d7377aaafb993c0f
parent0e40a5b6ae0997b11469fdeea702db4c7f878c17 (diff)
downloadcompcert-0af96302ae861e35c7e2dace1182e30be0b67851.tar.gz
compcert-0af96302ae861e35c7e2dace1182e30be0b67851.zip
Do not print cfi_sections for bsd.
The binutils in bsd seem to support cfi directives but not the cfi_sections directive.
-rw-r--r--ia32/TargetPrinter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ia32/TargetPrinter.ml b/ia32/TargetPrinter.ml
index 5fec2a01..f12843d2 100644
--- a/ia32/TargetPrinter.ml
+++ b/ia32/TargetPrinter.ml
@@ -759,7 +759,7 @@ module Target(System: SYSTEM):TARGET =
need_masks := false;
if !Clflags.option_g then begin
section oc Section_text;
- cfi_section oc
+ if Configuration.system <> "bsd" then cfi_section oc
end
let print_epilogue oc =