Commit 24f9c4df by Bernardo Innocenti Committed by Bernardo Innocenti

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 <pauli@snapgear.com>

From-SVN: r72962
parent 36f9cf4a
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> 2003-10-26 Andreas Jaeger <aj@suse.de>
* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned * unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
......
...@@ -2493,8 +2493,8 @@ that the specified function is an interrupt handler. The compiler will ...@@ -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 generate function entry and exit sequences suitable for use in an
interrupt handler when this attribute is present. interrupt handler when this attribute is present.
Note, interrupt handlers for the H8/300, H8/300H, H8S, and SH processors can Note, interrupt handlers for the m68k, H8/300, H8/300H, H8S, and SH processors
be specified via the @code{interrupt_handler} attribute. can be specified via the @code{interrupt_handler} attribute.
Note, on the AVR, interrupts will be enabled inside the function. Note, on the AVR, interrupts will be enabled inside the function.
...@@ -2508,9 +2508,9 @@ void f () __attribute__ ((interrupt ("IRQ"))); ...@@ -2508,9 +2508,9 @@ void f () __attribute__ ((interrupt ("IRQ")));
Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@. Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@.
@item interrupt_handler @item interrupt_handler
@cindex interrupt handler functions on the H8/300 and SH processors @cindex interrupt handler functions on the m68k, H8/300 and SH processors
Use this attribute on the H8/300, H8/300H, H8S, and SH to indicate that the Use this attribute on the m68k, H8/300, H8/300H, H8S, and SH to indicate that
specified function is an interrupt handler. The compiler will generate the specified function is an interrupt handler. The compiler will generate
function entry and exit sequences suitable for use in an interrupt function entry and exit sequences suitable for use in an interrupt
handler when this attribute is present. handler when this attribute is present.
...@@ -2527,7 +2527,7 @@ void f () __attribute__ ((interrupt_handler, ...@@ -2527,7 +2527,7 @@ void f () __attribute__ ((interrupt_handler,
@end smallexample @end smallexample
@item trap_exit @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 @code{trapa} instead of @code{rte}. This attribute expects an integer
argument specifying the trap number to be used. argument specifying the trap number to be used.
......
...@@ -341,7 +341,8 @@ in the following sections. ...@@ -341,7 +341,8 @@ in the following sections.
@gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol @gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol
-m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol -m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol
-mnobitfield -mrtd -mshort -msoft-float -mpcrel @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} @emph{M68hc1x Options}
@gccoptlist{-m6811 -m6812 -m68hc11 -m68hc12 -m68hcs12 @gol @gccoptlist{-m6811 -m6812 -m68hc11 -m68hc12 -m68hcs12 @gol
...@@ -6089,6 +6090,30 @@ not presently supported with @option{-mpcrel}, though this could be supported fo ...@@ -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 Do not (do) assume that unaligned memory references will be handled by
the system. 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 @end table
@node M68hc1x Options @node M68hc1x Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment