extern struct ofmt of_aoutb;
extern struct ofmt of_coff;
extern struct ofmt of_elf32;
+extern struct ofmt of_elf;
extern struct ofmt of_elf64;
extern struct ofmt of_as86;
extern struct ofmt of_obj;
#endif
#ifdef OF_ELF32
&of_elf32,
+ &of_elf,
#endif
#ifdef OF_ELF64
&of_elf64,
static char elf_module[FILENAME_MAX];
extern struct ofmt of_elf32;
+extern struct ofmt of_elf;
#define SHN_ABS 0xFFF1
#define SHN_COMMON 0xFFF2
struct ofmt of_elf32 = {
"ELF32 (i386) object files (e.g. Linux)",
- "elf",
+ "elf32",
NULL,
elf32_debugs_arr,
&null_debug_form,
elf_cleanup
};
+struct ofmt of_elf = {
+ "ELF (short name for ELF32) ",
+ "elf",
+ NULL,
+ elf32_debugs_arr,
+ &null_debug_form,
+ elf_stdmac,
+ elf_init,
+ elf_set_info,
+ elf_out,
+ elf_deflabel,
+ elf_section_names,
+ elf_segbase,
+ elf_directive,
+ elf_filename,
+ elf_cleanup
+};
/* again, the stabs debugging stuff (code) */
void stabs32_init(struct ofmt *of, void *id, FILE * fp, efunc error)