Assembler Options

To produce an ELF object file, the Tachyon z/Assembler must be invoked using the OBJECT(ELF) option. You will also probably need to review or change other assembler options. The options that are especially relevant to ELF are listed below:

ESD

The ESD option is unchanged by the OBJECT(ELF) option, however the format of the ESD section of the listing is different from that produced by the other OBJECT option settings. The entries in the ESD listing are sorted in the following order:
  1. sections in the sequence listed in the table
  2. local entry points
  3. global and weak entry points
  4. external references
  5. common areas
The addresses of all sections are zero, as if the PROCESS(NOTHREAD) option is in effect. The length field is printed for entry points. The flags field of the sections and common areas contains the alignment.

FLAG

The FLAG(RENT) and FLAG(HLASM) options are disabled and ignored when the OBJECT(ELF) option is in effect.

The FLAG(RA2|RA3|RA4) option setting is ignored and treated as FLAG(NORA). All relocatable address constants of any length except 4 bytes (for RMODE 31) or 8 bytes (for RMODE 64) are flagged as errors.

IDR

The IDR option is disabled and ignored when the OBJECT(ELF) option is in effect.

LIST

LIST(133) is forced when the OBJECT(ELF) option is in effect, unless the NOLIST option is set.

OBJECT

OBJECT(ELF) instructs the assembler to produce the object file (SYSLIN) in ELF format. OBJECT(ELF) also impacts other options as described in this section and changes the assembler language.

PROCESS

The PROCESS(CICS), PROCESS(DLI), PROCESS(JCL), PROCESS(SQL) and PROCESS(THREAD) options are disabled and ignored when the OBJECT(ELF) option is in effect.

PROCESS(BATCH) is accepted but should not be specified. ELF object files normally contain the output of a single assembly.

PROCESS(GAS) instructs the assembler to translate the input file from GNU assembler format to HLASM format prior to assembling the statements.

RLD

The RLD option is unchanged by the OBJECT(ELF) option, however the format of the RLD section of the listing is different from that produced by the other OBJECT option settings. The entries in the RLD listing are sorted by containing ESID and address rather than by containing ESID and referencing ESID. The Flags column is replaced by the Type column, showing the ELF relocation type code. Also, the Addend column is included and contains the value that would have been assembled in the address constant. Address constants themselves always contain zeros in the assembled object code.

TEST

The TEST option is ignored and disabled when the OBJECT(ELF) option is in effect.

TRANSLATE

Since Linux programs normally process characters in the ASCII character set, the TRANSLATE(AS) option should be specified. This option will cause character constants and literals without a subtype modifier to be translated into ASCII. For example, DC C'AB' would be assembled as X'4142' instead of X'C1C2'.

The Tachyon z/Assembler also allows a second parameter of the TRANSLATE option. The option may be specified as TRANSLATE(AS,SELF), causing self-defining character values without a subtype modifier to be translated to ASCII. For example, CLI 0(15),C'A' would be assembled as X'9541F000' instead of X'95C1F000'.


Frames No Frames Previous Next Contents
Introduction Setup Running Options Macros Translation Compatibility Messages
© Copyright 1999-2003, Tachyon Software® LLC.
Last modified on April 15, 2003