From f077f1693bd11aee4daeb9bc9720f1f96161de46 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Wed, 15 Jan 2003 23:50:41 +0100 Subject: m68hc11.h (ASM_SPEC): Handle -m68hcs12... * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort and -mshort-double to the assembler to specify the ABI. (LINK_SPEC): Likewise. (CPP_SPEC): Pass HCS12 specific define. (MASK_M68S12): New define. (TARGET_M68S12): Likewise. (TARGET_SWITCHES): New options -m68hcs12 and -m68S12. (TARGET_VERSION): Update. * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define. (LINK_SPEC): Update. (ASM_SPEC): Update. * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update. * doc/invoke.texi (M68hc1x Options): Document -m68hcs12. From-SVN: r61358 --- gcc/doc/invoke.texi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc/doc') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a96caa7..34b597a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -345,7 +345,7 @@ in the following sections. @emph{M68hc1x Options} @gccoptlist{ --m6811 -m6812 -m68hc11 -m68hc12 @gol +-m6811 -m6812 -m68hc11 -m68hc12 -m68hcs12 @gol -mauto-incdec -minmax -mlong-calls -mshort @gol -msoft-reg-count=@var{count}} @@ -5505,6 +5505,12 @@ when the compiler is configured for 68HC11-based systems. Generate output for a 68HC12. This is the default when the compiler is configured for 68HC12-based systems. +@item -m68S12 +@itemx -m68hcs12 +@opindex m68S12 +@opindex m68hcs12 +Generate output for a 68HCS12. + @item -mauto-incdec @opindex mauto-incdec Enable the use of 68HC12 pre and post auto-increment and auto-decrement -- cgit v1.1