aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/internals.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:14:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-08-22 19:14:32 +0000
commit56385375da9803facb2da8a5e0fe4032edd07df8 (patch)
treefbeea27fef04c814097f2236b6e1283be1cce8b0 /gas/doc/internals.texi
parent5e0c222624648d0eff8f74a166798274c40cdb5e (diff)
downloadgdb-56385375da9803facb2da8a5e0fe4032edd07df8.zip
gdb-56385375da9803facb2da8a5e0fe4032edd07df8.tar.gz
gdb-56385375da9803facb2da8a5e0fe4032edd07df8.tar.bz2
2000-08-22 H.J. Lu <hjl@gnu.org>
* config.in (STRICTCOFF): New for strict COFF. * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, i386-*-go32* and i386-go32-rtems*. * configure: Rebuilt. * config/obj-coff.c (obj_coff_endef): Follow the historical behavior if STRICTCOFF is not defined. * doc/internals.texi: Document STRICTCOFF.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r--gas/doc/internals.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi
index c9d2497..fb3dc6b 100644
--- a/gas/doc/internals.texi
+++ b/gas/doc/internals.texi
@@ -773,6 +773,12 @@ variable. Normally the default value of @samp{generic} is fine. The
configuration process will create a file named @file{targ-env.h} in the build
directory which includes @file{te-@var{em}.h}.
+There is a special case for COFF. For historical reason, the GNU COFF
+assembler doesn't follow the documented behavior on certain debug symbols for
+the compatibility with other COFF assemblers. A port can define
+@code{STRICTCOFF} in the configure script to make the GNU COFF assembler
+to follow the documented behavior.
+
Porting GAS to a new CPU requires writing the @file{tc-@var{CPU}} files.
Porting GAS to a new object file format requires writing the
@file{obj-@var{fmt}} files. There is sometimes some interaction between these