* ldlang.h (lang_output_section_statement_type): Add after_end field. (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. (section_for_dot): Declare. * ldlang.c (lang_size_sections_1): Correct comment. (current_section): Move earlier. (current_assign, prefer_next_section): New static vars. (lang_do_assignments_1): Add found_end param. Detect _end assignment to set found_end. Set os->after_end. Set above statics. (lang_do_assignments): Adjust lang_do_assignments_1 call. Init vars. (section_for_dot): New function. (lang_set_startof): Don't make an absolute symbol. (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. * ldexp.c (new_rel_from_abs): Use section_for_dot. * emultempl/lnk960.em (symbol_at_beginning_of): New function. (symbol_at_end_of): Likewise. (lnk960_after_allocation): Use them. * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and likewise before __bss_start. ld/testsuite/ Update far too many tests. |
||
|---|---|---|
| .. | ||
| aix.sc | ||
| alpha.sc | ||
| alphavms.sc | ||
| aout.sc | ||
| armaout.sc | ||
| armbpabi.sc | ||
| armcoff.sc | ||
| avr.sc | ||
| crisaout.sc | ||
| delta68.sc | ||
| dlx.sc | ||
| elf32cr16.sc | ||
| elf32cr16c.sc | ||
| elf32crx.sc | ||
| elf32msp430_3.sc | ||
| elf32msp430.sc | ||
| elf32sh-symbian.sc | ||
| elf32xc16x.sc | ||
| elf32xc16xl.sc | ||
| elf32xc16xs.sc | ||
| elf64hppa.sc | ||
| elf_chaos.sc | ||
| elf.sc | ||
| elfd10v.sc | ||
| elfd30v.sc | ||
| elfi370.sc | ||
| elfm68hc11.sc | ||
| elfm68hc12.sc | ||
| elfmicroblaze.sc | ||
| elfxgate.sc | ||
| elfxtensa.sc | ||
| epocpe.sc | ||
| h8300.sc | ||
| h8300h.sc | ||
| h8300hn.sc | ||
| h8300s.sc | ||
| h8300sn.sc | ||
| h8300sx.sc | ||
| h8300sxn.sc | ||
| h8500.sc | ||
| h8500b.sc | ||
| h8500c.sc | ||
| h8500m.sc | ||
| h8500s.sc | ||
| hppaelf.sc | ||
| i386beos.sc | ||
| i386coff.sc | ||
| i386go32.sc | ||
| i386msdos.sc | ||
| i860coff.sc | ||
| i960.sc | ||
| ia64vms.sc | ||
| ip2k.sc | ||
| iq2000.sc | ||
| m68kaux.sc | ||
| m68kcoff.sc | ||
| m88kbcs.sc | ||
| mcorepe.sc | ||
| mep.sc | ||
| mips.sc | ||
| mipsbsd.sc | ||
| mmo.sc | ||
| moxie.sc | ||
| nw.sc | ||
| or32.sc | ||
| pe.sc | ||
| pep.sc | ||
| pj.sc | ||
| ppcpe.sc | ||
| psos.sc | ||
| README | ||
| riscix.sc | ||
| sh.sc | ||
| sparccoff.sc | ||
| st2000.sc | ||
| tic4xcoff.sc | ||
| tic30aout.sc | ||
| tic30coff.sc | ||
| tic54xcoff.sc | ||
| tic80coff.sc | ||
| v850.sc | ||
| vanilla.sc | ||
| w65.sc | ||
| xstormy16.sc | ||
| z80.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.