Home | History | Annotate | Download | only in emultempl

Lines Matching full:emulation_name

14 /* ${ELFSIZE} bit ELF emulation code for ${EMULATION_NAME}
36 #define TARGET_IS_${EMULATION_NAME}
62 static void gld${EMULATION_NAME}_before_parse (void);
63 static void gld${EMULATION_NAME}_after_open (void);
64 static void gld${EMULATION_NAME}_before_allocation (void);
65 static void gld${EMULATION_NAME}_after_allocation (void);
66 static lang_output_section_statement_type *gld${EMULATION_NAME}_place_orphan
95 if test x"$LDEMUL_BEFORE_PARSE" != xgld"$EMULATION_NAME"_before_parse; then
99 gld${EMULATION_NAME}_before_parse (void)
110 if test x"$LDEMUL_RECOGNIZED_FILE" != xgld"${EMULATION_NAME}"_load_symbols; then
115 gld${EMULATION_NAME}_load_symbols (lang_input_statement_type *entry)
186 gld${EMULATION_NAME}_vercheck (lang_input_statement_type *s)
238 gld${EMULATION_NAME}_stat_needed (lang_input_statement_type *s)
311 gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
360 lang_for_each_input_file (gld${EMULATION_NAME}_vercheck);
420 lang_for_each_input_file (gld${EMULATION_NAME}_stat_needed);
456 gld${EMULATION_NAME}_search_needed (const char *path,
465 return gld${EMULATION_NAME}_try_needed (n, force);
505 if (gld${EMULATION_NAME}_try_needed (&needed, force))
526 gld${EMULATION_NAME}_add_sysroot (const char *path)
572 gld${EMULATION_NAME}_check_ld_elf_hints (const struct bfd_link_needed_list *l,
602 ld_elf_hints = gld${EMULATION_NAME}_add_sysroot (b);
618 return gld${EMULATION_NAME}_search_needed (ld_elf_hints, &needed, force);
630 struct gld${EMULATION_NAME}_ld_so_conf
637 gld${EMULATION_NAME}_parse_ld_so_conf
638 (struct gld${EMULATION_NAME}_ld_so_conf *info, const char *filename);
641 gld${EMULATION_NAME}_parse_ld_so_conf_include
642 (struct gld${EMULATION_NAME}_ld_so_conf *info, const char *filename,
667 gld${EMULATION_NAME}_parse_ld_so_conf (info, gl.gl_pathv[i]);
672 gld${EMULATION_NAME}_parse_ld_so_conf (info, pattern);
680 gld${EMULATION_NAME}_parse_ld_so_conf
681 (struct gld${EMULATION_NAME}_ld_so_conf *info, const char *filename)
749 gld${EMULATION_NAME}_parse_ld_so_conf_include (info, filename,
790 gld${EMULATION_NAME}_check_ld_so_conf (const struct bfd_link_needed_list *l,
800 struct gld${EMULATION_NAME}_ld_so_conf info;
806 if (!gld${EMULATION_NAME}_parse_ld_so_conf (&info, tmppath))
811 gld${EMULATION_NAME}_parse_ld_so_conf (&info, tmppath);
817 char *d = gld${EMULATION_NAME}_add_sysroot (info.path);
830 return gld${EMULATION_NAME}_search_needed (ld_so_conf, &needed, force);
843 gld${EMULATION_NAME}_check_needed (lang_input_statement_type *s)
889 if test x"$LDEMUL_AFTER_OPEN" != xgld"$EMULATION_NAME"_after_open; then
1000 gld${EMULATION_NAME}_after_open (void)
1131 lang_for_each_input_file (gld${EMULATION_NAME}_check_needed);
1148 if (gld${EMULATION_NAME}_try_needed (&nn, TRUE))
1162 their use. See gld${EMULATION_NAME}_vercheck comment. */
1181 if (gld${EMULATION_NAME}_search_needed (command_line.rpath_link,
1187 if (gld${EMULATION_NAME}_search_needed (command_line.rpath,
1198 if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
1203 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, force))
1213 char *tmpname = gld${EMULATION_NAME}_add_sysroot (rp->name);
1215 && gld${EMULATION_NAME}_search_needed (tmpname,
1229 if (gld${EMULATION_NAME}_check_ld_elf_hints (l, force))
1237 if (gld${EMULATION_NAME}_check_ld_so_conf (l, force))
1256 if (gld${EMULATION_NAME}_try_needed (&nn, force))
1282 gld${EMULATION_NAME}_find_exp_assignment (etree_type *exp)
1309 gld${EMULATION_NAME}_find_exp_assignment (exp->assign.src);
1313 gld${EMULATION_NAME}_find_exp_assignment (exp->binary.lhs);
1314 gld${EMULATION_NAME}_find_exp_assignment (exp->binary.rhs);
1318 gld${EMULATION_NAME}_find_exp_assignment (exp->trinary.cond);
1319 gld${EMULATION_NAME}_find_exp_assignment (exp->trinary.lhs);
1320 gld${EMULATION_NAME}_find_exp_assignment (exp->trinary.rhs);
1324 gld${EMULATION_NAME}_find_exp_assignment (exp->unary.child);
1339 gld${EMULATION_NAME}_find_statement_assignment (lang_statement_union_type *s)
1342 gld${EMULATION_NAME}_find_exp_assignment (s->assignment_statement.exp);
1347 if test x"$LDEMUL_BEFORE_ALLOCATION" != xgld"$EMULATION_NAME"_before_allocation; then
1364 gld${EMULATION_NAME}_append_to_separated_string (char **to, char *op_arg)
1406 gld${EMULATION_NAME}_before_allocation (void)
1453 lang_for_each_statement (gld${EMULATION_NAME}_find_statement_assignment);
1484 gld${EMULATION_NAME}_append_to_separated_string (&depaudit, cp);
1576 if test x"$LDEMUL_OPEN_DYNAMIC_ARCHIVE" != xgld"$EMULATION_NAME"_open_dynamic_archive; then
1584 gld${EMULATION_NAME}_open_dynamic_archive
1664 if test x"$LDEMUL_PLACE_ORPHAN" != xgld"$EMULATION_NAME"_place_orphan; then
1736 gld${EMULATION_NAME}_place_orphan (asection *s,
1939 if test x"$LDEMUL_AFTER_ALLOCATION" != xgld"$EMULATION_NAME"_after_allocation; then
1943 gld${EMULATION_NAME}_after_allocation (void)
1950 gld${EMULATION_NAME}_map_segments (need_layout);
1955 if test x"$LDEMUL_GET_SCRIPT" != xgld"$EMULATION_NAME"_get_script; then
1959 gld${EMULATION_NAME}_get_script (int *isfile)
1976 sed $sc ldscripts/${EMULATION_NAME}.xu >> e${EMULATION_NAME}.c
1977 echo ' ; else if (link_info.relocatable) return' >> e${EMULATION_NAME}.c
1978 sed $sc ldscripts/${EMULATION_NAME}.xr >> e${EMULATION_NAME}.c
1979 echo ' ; else if (!config.text_read_only) return' >> e${EMULATION_NAME}.c
1980 sed $sc ldscripts/${EMULATION_NAME}.xbn >> e${EMULATION_NAME}.c
1981 if cmp -s ldscripts/${EMULATION_NAME}.x ldscripts/${EMULATION_NAME}.xn; then : ; else
1982 echo ' ; else if (!config.magic_demand_paged) return' >> e${EMULATION_NAME}.c
1983 sed $sc ldscripts/${EMULATION_NAME}.xn >> e${EMULATION_NAME}.c
1987 echo ' ; else if (link_info.pie && link_info.combreloc' >> e${EMULATION_NAME}.c
1988 echo ' && link_info.relro' >> e${EMULATION_NAME}.c
1989 echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c
1990 sed $sc ldscripts/${EMULATION_NAME}.xdw >> e${EMULATION_NAME}.c
1991 echo ' ; else if (link_info.pie && link_info.combreloc) return' >> e${EMULATION_NAME}.c
1992 sed $sc ldscripts/${EMULATION_NAME}.xdc >> e${EMULATION_NAME}.c
1994 echo ' ; else if (link_info.pie) return' >> e${EMULATION_NAME}.c
1995 sed $sc ldscripts/${EMULATION_NAME}.xd >> e${EMULATION_NAME}.c
1999 echo ' ; else if (link_info.shared && link_info.combreloc' >> e${EMULATION_NAME}.c
2000 echo ' && link_info.relro' >> e${EMULATION_NAME}.c
2001 echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c
2002 sed $sc ldscripts/${EMULATION_NAME}.xsw >> e${EMULATION_NAME}.c
2003 echo ' ; else if (link_info.shared && link_info.combreloc) return' >> e${EMULATION_NAME}.c
2004 sed $sc ldscripts/${EMULATION_NAME}.xsc >> e${EMULATION_NAME}.c
2006 echo ' ; else if (link_info.shared) return' >> e${EMULATION_NAME}.c
2007 sed $sc ldscripts/${EMULATION_NAME}.xs >> e${EMULATION_NAME}.c
2010 echo ' ; else if (link_info.combreloc && link_info.relro' >> e${EMULATION_NAME}.c
2011 echo ' && (link_info.flags & DF_BIND_NOW)) return' >> e${EMULATION_NAME}.c
2012 sed $sc ldscripts/${EMULATION_NAME}.xw >> e${EMULATION_NAME}.c
2013 echo ' ; else if (link_info.combreloc) return' >> e${EMULATION_NAME}.c
2014 sed $sc ldscripts/${EMULATION_NAME}.xc >> e${EMULATION_NAME}.c
2016 echo ' ; else return' >> e${EMULATION_NAME}.c
2017 sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c
2018 echo '; }' >> e${EMULATION_NAME}.c
2028 return "ldscripts/${EMULATION_NAME}.xu";
2030 return "ldscripts/${EMULATION_NAME}.xr";
2032 return "ldscripts/${EMULATION_NAME}.xbn";
2034 if cmp -s ldscripts/${EMULATION_NAME}.x ldscripts/${EMULATION_NAME}.xn; then :
2038 return "ldscripts/${EMULATION_NAME}.xn";
2046 return "ldscripts/${EMULATION_NAME}.xdw";
2048 return "ldscripts/${EMULATION_NAME}.xdc";
2053 return "ldscripts/${EMULATION_NAME}.xd";
2061 return "ldscripts/${EMULATION_NAME}.xsw";
2063 return "ldscripts/${EMULATION_NAME}.xsc";
2068 return "ldscripts/${EMULATION_NAME}.xs";
2075 return "ldscripts/${EMULATION_NAME}.xw";
2077 return "ldscripts/${EMULATION_NAME}.xc";
2082 return "ldscripts/${EMULATION_NAME}.x";
2107 gld${EMULATION_NAME}_add_options
2162 gld${EMULATION_NAME}_handle_option (int optc)
2186 gld${EMULATION_NAME}_append_to_separated_string (&audit, optarg);
2190 gld${EMULATION_NAME}_append_to_separated_string (&depaudit, optarg);
2352 if test x"$LDEMUL_LIST_OPTIONS" != xgld"$EMULATION_NAME"_list_options; then
2356 gld${EMULATION_NAME}_list_options (FILE * file)
2478 struct ld_emulation_xfer_struct ld_${EMULATION_NAME}_emulation =
2480 ${LDEMUL_BEFORE_PARSE-gld${EMULATION_NAME}_before_parse},
2484 ${LDEMUL_AFTER_OPEN-gld${EMULATION_NAME}_after_open},
2485 ${LDEMUL_AFTER_ALLOCATION-gld${EMULATION_NAME}_after_allocation},
2488 ${LDEMUL_BEFORE_ALLOCATION-gld${EMULATION_NAME}_before_allocation},
2489 ${LDEMUL_GET_SCRIPT-gld${EMULATION_NAME}_get_script},
2490 "${EMULATION_NAME}",
2494 ${LDEMUL_OPEN_DYNAMIC_ARCHIVE-gld${EMULATION_NAME}_open_dynamic_archive},
2495 ${LDEMUL_PLACE_ORPHAN-gld${EMULATION_NAME}_place_orphan},
2498 gld${EMULATION_NAME}_add_options,
2499 gld${EMULATION_NAME}_handle_option,
2501 ${LDEMUL_LIST_OPTIONS-gld${EMULATION_NAME}_list_options},
2502 ${LDEMUL_RECOGNIZED_FILE-gld${EMULATION_NAME}_load_symbols},