[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
GAS has acquired layers of code over time. The original GAS only supported the a.out object file format, with three sections. Support for multiple sections has been added in two different ways.
The preferred approach is to use the version of GAS created when the symbol
BFD_ASSEMBLER
is defined. The other versions of GAS are documented for
historical purposes, and to help anybody who has to debug code written for
them.
The type segT
is used to represent a section in code which must work
with all versions of GAS.
1.1 Original GAS Original GAS version 1.2 MANY_SEGMENTS gas version 1.3 BFD_ASSEMBLER gas version