summaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2000-08-22 19:14:32 +0000
committerH.J. Lu <hjl@lucon.org>2000-08-22 19:14:32 +0000
commitffa0e1c366960a879e51ed5243d756fe845c32c0 (patch)
tree72eab3b703a9de15232fc2cd0bde4c3ea55d9651 /gas/doc
parent452ed94242f5e29e254eb9070116ab828265a1fb (diff)
downloadbinutils-redhat-ffa0e1c366960a879e51ed5243d756fe845c32c0.tar.gz
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')
-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 c9d2497fe0..fb3dc6bfd2 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