From 0486654fac91947fec93d18a0738dd7aa10bcf96 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 3 Nov 2009 08:43:54 +0000 Subject: PowerPC/EABI port: preliminary support for #pragma section and #pragma use_section. Some clean-ups in Cil2Csyntax. Separate mach-dep parts of extraction/extraction.v into /extractionMachdep.v git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1167 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- extraction/extraction.v | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'extraction') diff --git a/extraction/extraction.v b/extraction/extraction.v index 86b9b4c..77c6c62 100644 --- a/extraction/extraction.v +++ b/extraction/extraction.v @@ -69,20 +69,15 @@ Extract Constant Coloring.graph_coloring => "Coloringaux.graph_coloring". (* Linearize *) Extract Constant Linearize.enumerate_aux => "Linearizeaux.enumerate_aux". -(* Asm *) -Extract Constant Asm.low_half => "fun _ -> assert false". -Extract Constant Asm.high_half => "fun _ -> assert false". -Extract Constant Asm.symbol_is_small_data => "Cil2Csyntax.atom_is_small_data". -Extract Constant Asm.small_data_area_offset => "fun _ _ _ -> assert false". - (* Suppression of stupidly big equality functions *) Extract Constant Op.eq_operation => "fun (x: operation) (y: operation) -> x = y". Extract Constant Op.eq_addressing => "fun (x: addressing) (y: addressing) -> x = y". (*Extract Constant CSE.eq_rhs => "fun (x: rhs) (y: rhs) -> x = y".*) Extract Constant Machregs.mreg_eq => "fun (x: mreg) (y: mreg) -> x = y". -Extract Constant Asm.ireg_eq => "fun (x: ireg) (y: ireg) -> x = y". -Extract Constant Asm.freg_eq => "fun (x: freg) (y: freg) -> x = y". -Extract Constant Asm.preg_eq => "fun (x: preg) (y: preg) -> x = y". + +(* Processor-specific extraction directives *) + +Load extractionMachdep. (* Avoid name clashes *) Extraction Blacklist List String Int. -- cgit v1.2.3