diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-28 18:39:43 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-28 18:39:43 +0200 |
commit | 68ad5472a78d12e0e4fd4eae422122185403d678 (patch) | |
tree | 52674e67c21c4134118996f2b241f9496f7f5130 /arm/TargetPrinter.ml | |
parent | 5492b5b55afa68e3d628da07ff583a0cac79b7e3 (diff) | |
download | compcert-kvx-68ad5472a78d12e0e4fd4eae422122185403d678.tar.gz compcert-kvx-68ad5472a78d12e0e4fd4eae422122185403d678.zip |
Change the way the debug sections are printed.
If a user uses the #pragma use_section for functions the diab linker
requires a separate debug_info section for each entry. This commit
adds functionality to emulate this behavior.
Diffstat (limited to 'arm/TargetPrinter.ml')
-rw-r--r-- | arm/TargetPrinter.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm/TargetPrinter.ml b/arm/TargetPrinter.ml index a7188206..86f9f973 100644 --- a/arm/TargetPrinter.ml +++ b/arm/TargetPrinter.ml @@ -152,7 +152,7 @@ module Target (Opt: PRINTER_OPTIONS) : TARGET = | 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_info + | Section_debug_info _ | Section_debug_loc | Section_debug_abbrev -> "" (* Dummy value *) |