This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: unreviewed m68k patches
Kazu Hirata wrote:
- Add uClinux-specific code generation options
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01263.html
Would you mind mentioning the new target-specific options in
doc/invoke.texi?
This was already sitting in my patch queue, but I was almost
forgotting... Thank you for reminding!
2003-10-11 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.
diff -u -3 -p -r1.163 extend.texi
--- gcc/doc/extend.texi 4 Oct 2003 10:53:09 -0000 1.163
+++ gcc/doc/extend.texi 11 Oct 2003 05:25:33 -0000
@@ -2488,7 +2488,7 @@ that the specified function is an interr
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 and SH processors can
+Note, interrupt handlers for the m68k, H8/300, H8/300H and SH processors can
be specified via the @code{interrupt_handler} attribute.
Note, on the AVR, interrupts will be enabled inside the function.
@@ -2503,8 +2503,8 @@ void f () __attribute__ ((interrupt ("IR
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 and SH to indicate that the
+@cindex interrupt handler functions on the m68k, H8/300 and SH processors
+Use this attribute on the m68k, H8/300, H8/300H 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.
@@ -2522,7 +2522,7 @@ void f () __attribute__ ((interrupt_hand
@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 -u -3 -p -u -p -r1.344 invoke.texi
--- gcc/doc/invoke.texi 9 Oct 2003 09:08:37 -0000 1.344
+++ gcc/doc/invoke.texi 11 Oct 2003 06:39:18 -0000
@@ -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
@@ -6072,6 +6073,30 @@ not presently supported with @option{-mp
@opindex mstrict-align
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
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html