* ldgram.y (current_file): Change to struct wildcard_spec. (%union): Add new fields cname and wildcard. (wildcard_name, wildcard_spec): New nonterminals. (file_NAME_list): Use wildcard_spec. (input_section_spec): Change current_file usage. * ld.h (struct wildcard_spec): Define. * ldlang.h (lang_wild_statement_struct): Add new fields sections_sorted and filenames_sorted. (lang_add_wild): Update declaration. * ldlang.c (wild_sort): New static function. (wild_section): Use wild_sort. (print_wild_statement): Print sorting information. (lang_add_wild): Add new parameters sections_sorted and filenames_sorted. Change all callers. * mri.c (mri_draw_tree): Update calls to lang_add_wild. * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. * scripttempl/elfd10v.sc: Likewise. * scripttempl/elfd30v.sc: Likewise. * scripttempl/elfppc.sc: Likewise. |
||
|---|---|---|
| .. | ||
| .Sanitize | ||
| a29k.sc | ||
| aix.sc | ||
| alpha.sc | ||
| aout.sc | ||
| armaout.sc | ||
| armcoff.sc | ||
| delta68.sc | ||
| ebmon29k.sc | ||
| elf.sc | ||
| elfd10v.sc | ||
| elfd30v.sc | ||
| elfppc.sc | ||
| go32coff.sc | ||
| h8300.sc | ||
| h8300h.sc | ||
| h8300s.sc | ||
| h8500.sc | ||
| h8500b.sc | ||
| h8500c.sc | ||
| h8500m.sc | ||
| h8500s.sc | ||
| hppaelf.sc | ||
| i386coff.sc | ||
| i386go32.sc | ||
| i386lynx.sc | ||
| i386msdos.sc | ||
| i960.sc | ||
| m68kaux.sc | ||
| m68kcoff.sc | ||
| m68klynx.sc | ||
| m88kbcs.sc | ||
| mips.sc | ||
| mipsbsd.sc | ||
| nw.sc | ||
| pe.sc | ||
| ppcpe.sc | ||
| psos.sc | ||
| README | ||
| riscix.sc | ||
| sa29200.sc | ||
| sh.sc | ||
| sparccoff.sc | ||
| sparclynx.sc | ||
| st2000.sc | ||
| tic30aout.sc | ||
| tic30coff.sc | ||
| tic80coff.sc | ||
| v850.sc | ||
| vanilla.sc | ||
| w65.sc | ||
| z8000.sc | ||
The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.