From 24f9c4df3330f359098c1985f02450e1d393b3bb Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Sun, 26 Oct 2003 20:03:43 +0100 Subject: [PATCH] extend.texi (interrupt_handler): Add m68k to the list of processors implementing it. * doc/extend.texi (interrupt_handler): Add m68k to the list of processors implementing it. * doc/invoke.texi (-msep-data): Document new m68k option. (-mno-sep-data): Likewise. (-mid-shared-library): Likewise. (-mno-id-shared-library): Likewise. (-mshared-library-id): Likewise. Co-Authored-By: Paul Dale From-SVN: r72962 --- gcc/ChangeLog | 11 +++++++++++ gcc/doc/extend.texi | 12 ++++++------ gcc/doc/invoke.texi | 27 ++++++++++++++++++++++++++- 3 files changed, 43 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11c72affdca5..3a13d770f1e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2003-10-26 Bernardo Innocenti + Paul Dale + + * doc/extend.texi (interrupt_handler): Add m68k to the + list of processors implementing it. + * doc/invoke.texi (-msep-data): Document new m68k option. + (-mno-sep-data): Likewise. + (-mid-shared-library): Likewise. + (-mno-id-shared-library): Likewise. + (-mshared-library-id): Likewise. + 2003-10-26 Andreas Jaeger * unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 63677f161481..e2982929e587 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2493,8 +2493,8 @@ that the specified function is an interrupt handler. The compiler will generate function entry and exit sequences suitable for use in an interrupt handler when this attribute is present. -Note, interrupt handlers for the H8/300, H8/300H, H8S, and SH processors can -be specified via the @code{interrupt_handler} attribute. +Note, interrupt handlers for the m68k, H8/300, H8/300H, H8S, and SH processors +can be specified via the @code{interrupt_handler} attribute. Note, on the AVR, interrupts will be enabled inside the function. @@ -2508,9 +2508,9 @@ void f () __attribute__ ((interrupt ("IRQ"))); Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@. @item interrupt_handler -@cindex interrupt handler functions on the H8/300 and SH processors -Use this attribute on the H8/300, H8/300H, H8S, and SH to indicate that the -specified function is an interrupt handler. The compiler will generate +@cindex interrupt handler functions on the m68k, H8/300 and SH processors +Use this attribute on the m68k, H8/300, H8/300H, H8S, and SH to indicate that +the specified function is an interrupt handler. The compiler will generate function entry and exit sequences suitable for use in an interrupt handler when this attribute is present. @@ -2527,7 +2527,7 @@ void f () __attribute__ ((interrupt_handler, @end smallexample @item trap_exit -Use this attribute on the SH for an @code{interrupt_handle} to return using +Use this attribute on the SH for an @code{interrupt_handler} to return using @code{trapa} instead of @code{rte}. This attribute expects an integer argument specifying the trap number to be used. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 66b3f0ef965e..f5f59382371b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -341,7 +341,8 @@ in the following sections. @gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol -m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol -mnobitfield -mrtd -mshort -msoft-float -mpcrel @gol --malign-int -mstrict-align} +-malign-int -mstrict-align -msep-data -mno-sep-data @gol +-mshared-library-id=n -mid-shared-library -mno-id-shared-library} @emph{M68hc1x Options} @gccoptlist{-m6811 -m6812 -m68hc11 -m68hc12 -m68hcs12 @gol @@ -6089,6 +6090,30 @@ not presently supported with @option{-mpcrel}, though this could be supported fo Do not (do) assume that unaligned memory references will be handled by the system. +@item -msep-data +Generate code that allows the data segment to be located in a different +area of memory from the text segment. This allows for execute in place in +an environment without virtual memory management. This option implies -fPIC. + +@item -mno-sep-data +Generate code that assumes that the data segment follows the text segment. +This is the default. + +@item -mid-shared-library +Generate code that supports shared libraries via the library ID method. +This allows for execute in place and shared libraries in an environment +without virtual memory management. This option implies -fPIC. + +@item -mno-id-shared-library +Generate code that doesn't assume ID based shared libraries are being used. +This is the default. + +@item -mshared-library-id=n +Specified the identification number of the ID based shared library being +compiled. Specifying a value of 0 will generate more compact code, specifying +other values will force the allocation of that number to the current +library but is no more space or time efficient than omitting this option. + @end table @node M68hc1x Options