diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-04-16 09:16:26 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-04-16 09:16:26 +0000 |
commit | 507e6c242ced3c7f083edc1657092c9ff7a9c8f2 (patch) | |
tree | 9f0a60c471493d25dd930dde79f0a15348d57dc7 /ia32/PrintAsm.ml | |
parent | abb6fbfe333173acfeeb9304f9c529778e58ff1c (diff) | |
download | compcert-507e6c242ced3c7f083edc1657092c9ff7a9c8f2.tar.gz compcert-507e6c242ced3c7f083edc1657092c9ff7a9c8f2.zip |
cparser/Elab: __attribute, not attribute
ia32/PrintAsm: wrong section name
regression: added test attribs1
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1636 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'ia32/PrintAsm.ml')
-rw-r--r-- | ia32/PrintAsm.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ia32/PrintAsm.ml b/ia32/PrintAsm.ml index 33aae6a3..969b3b30 100644 --- a/ia32/PrintAsm.ml +++ b/ia32/PrintAsm.ml @@ -136,8 +136,8 @@ let section oc name = let name_of_section_ELF = function | Section_text -> ".text" | Section_data i | Section_small_data i -> if i then ".data" else ".bss" - | Section_const | Section_small_const -> ".rodata" - | Section_string -> ".rodata" + | Section_const | Section_small_const -> ".section .rodata" + | Section_string -> ".section .rodata" | Section_literal -> ".section .rodata.cst8,\"aM\",@progbits,8" | Section_jumptable -> ".text" | Section_user(s, wr, ex) -> |