Automatic date update in version.in
[binutils-gdb.git] / ld / emultempl / emulation.em
blob7fe821a519d09086af445ba15613ccca6edab5d3
1 # This shell script emits a C file. -*- C -*-
2 # It does some substitutions.
3 fragment <<EOF
5 struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
7   ${LDEMUL_BEFORE_PARSE-gld${EMULATION_NAME}_before_parse},
8   ${LDEMUL_SYSLIB-syslib_default},
9   ${LDEMUL_HLL-hll_default},
10   ${LDEMUL_AFTER_PARSE-after_parse_default},
11   ${LDEMUL_BEFORE_PLUGIN_ALL_SYMBOLS_READ-NULL},
12   ${LDEMUL_AFTER_OPEN-after_open_default},
13   ${LDEMUL_AFTER_CHECK_RELOCS-after_check_relocs_default},
14   ${LDEMUL_BEFORE_PLACE_ORPHANS-before_place_orphans_default},
15   ${LDEMUL_AFTER_ALLOCATION-after_allocation_default},
16   ${LDEMUL_SET_OUTPUT_ARCH-set_output_arch_default},
17   ${LDEMUL_CHOOSE_TARGET-ldemul_default_target},
18   ${LDEMUL_BEFORE_ALLOCATION-before_allocation_default},
19   ${LDEMUL_GET_SCRIPT-gld${EMULATION_NAME}_get_script},
20   "${EMULATION_NAME}",
21   "${OUTPUT_FORMAT}",
22   ${LDEMUL_FINISH-finish_default},
23   ${LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS-NULL},
24   ${LDEMUL_OPEN_DYNAMIC_ARCHIVE-NULL},
25   ${LDEMUL_PLACE_ORPHAN-NULL},
26   ${LDEMUL_SET_SYMBOLS-NULL},
27   ${LDEMUL_PARSE_ARGS-NULL},
28   ${LDEMUL_ADD_OPTIONS-NULL},
29   ${LDEMUL_HANDLE_OPTION-NULL},
30   ${LDEMUL_UNRECOGNIZED_FILE-NULL},
31   ${LDEMUL_LIST_OPTIONS-NULL},
32   ${LDEMUL_RECOGNIZED_FILE-NULL},
33   ${LDEMUL_FIND_POTENTIAL_LIBRARIES-NULL},
34   ${LDEMUL_NEW_VERS_PATTERN-NULL},
35   ${LDEMUL_EXTRA_MAP_FILE_TEXT-NULL},
36   ${LDEMUL_EMIT_CTF_EARLY-NULL},
37   ${LDEMUL_ACQUIRE_STRINGS_FOR_CTF-NULL},
38   ${LDEMUL_NEW_DYNSYM_FOR_CTF-NULL},
39   ${LDEMUL_PRINT_SYMBOL-NULL}
41 EOF