extend.texi (interrupt_handler): Add m68k to the list of processors implementing it.
authorBernardo Innocenti <bernie@develer.com>
Sun, 26 Oct 2003 19:03:43 +0000 (20:03 +0100)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Sun, 26 Oct 2003 19:03:43 +0000 (20:03 +0100)
* 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 <pauli@snapgear.com>
From-SVN: r72962

gcc/ChangeLog
gcc/doc/extend.texi
gcc/doc/invoke.texi

index 11c72affdca5387caa111bf70e5c0f8a7af3ea65..3a13d770f1e7f91406c9707eb4893f20d7e6275d 100644 (file)
@@ -1,3 +1,14 @@
+2003-10-26  Bernardo Innocenti  <bernie@develer.com>
+           Paul Dale  <pauli@snapgear.com>
+
+       * 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  <aj@suse.de>
 
        * unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
index 63677f1614810e7c70af81e39efba8e980b3f3c9..e2982929e587e4105264d11cba1a925726af009e 100644 (file)
@@ -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.
 
index 66b3f0ef965e2b8a6ff9ec7c82d29c7c768a2328..f5f59382371bc29c267a511c5476ab80c986b84b 100644 (file)
@@ -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