Doc:Elf:Object Files

From GNU 68HC11/HC12
Jump to: navigation, search

Gas generates object files in the ELF format. The specific tags EM_68HC11 (70) and EM_68HC12 (53) are used to identify the machine. These tags are defined by the Motorola Embedded Working Group (see Eabi WG). Gas generates the following relocation types:

  • 8-bit PCREL
  • 8-bit absolute
  • 8-bit low address part (no complain on overflow)
  • 8-bit high address part
  • 16-bit PCREL
  • 16-bit absolute
  • branch instruction marks
Personal tools