Line 22... |
Line 22... |
#define _ELF_AVR_H
|
#define _ELF_AVR_H
|
|
|
#include "elf/reloc-macros.h"
|
#include "elf/reloc-macros.h"
|
|
|
/* Processor specific flags for the ELF header e_flags field. */
|
/* Processor specific flags for the ELF header e_flags field. */
|
#define EF_AVR_MACH 0xf
|
#define EF_AVR_MACH 0x7F
|
|
|
/* If bit #7 is set, it is assumed that the elf file uses local symbols
|
/* If bit #7 is set, it is assumed that the elf file uses local symbols
|
as reference for the relocations so that linker relaxation is possible. */
|
as reference for the relocations so that linker relaxation is possible. */
|
#define EF_AVR_LINKRELAX_PREPARED 0x80
|
#define EF_AVR_LINKRELAX_PREPARED 0x80
|
|
|
#define E_AVR_MACH_AVR1 1
|
#define E_AVR_MACH_AVR1 1
|
#define E_AVR_MACH_AVR2 2
|
#define E_AVR_MACH_AVR2 2
|
|
#define E_AVR_MACH_AVR25 25
|
#define E_AVR_MACH_AVR3 3
|
#define E_AVR_MACH_AVR3 3
|
|
#define E_AVR_MACH_AVR31 31
|
|
#define E_AVR_MACH_AVR35 35
|
#define E_AVR_MACH_AVR4 4
|
#define E_AVR_MACH_AVR4 4
|
#define E_AVR_MACH_AVR5 5
|
#define E_AVR_MACH_AVR5 5
|
|
#define E_AVR_MACH_AVR51 51
|
#define E_AVR_MACH_AVR6 6
|
#define E_AVR_MACH_AVR6 6
|
|
|
/* Relocations. */
|
/* Relocations. */
|
START_RELOC_NUMBERS (elf_avr_reloc_type)
|
START_RELOC_NUMBERS (elf_avr_reloc_type)
|
RELOC_NUMBER (R_AVR_NONE, 0)
|
RELOC_NUMBER (R_AVR_NONE, 0)
|