Buy GNU books!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
The generic routines are in `coffgen.c'. These routines
work for any Coff target. They use some hooks into the target
specific code; the hooks are in a
structure, one of which exists for each target.
The essentially similar target-specific routines are in `coffcode.h'. This header file includes executable C code. The various Coff targets first include the appropriate Coff header file, make any special defines that are needed, and then include `coffcode.h'.
Some of the Coff targets then also have additional routines in the target source file itself.
For example, `coff-i960.c' includes
`coff/internal.h' and `coff/i960.h'. It then
defines a few constants, such as
I960, and includes
`coffcode.h'. Since the i960 has complex relocation
types, `coff-i960.c' also includes some code to
manipulate the i960 relocs. This code is not in
`coffcode.h' because it would not be used by any other
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|