d2667025dd
* 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. |
||
---|---|---|
.. | ||
abi32.sd | ||
abi32.xd | ||
abi64.sd | ||
abi64.xd | ||
abixx-noexp.sd | ||
cmpct1.sd | ||
cmpct1.xd | ||
crange-1.s | ||
crange-2a.s | ||
crange-2b.s | ||
crange-2c.s | ||
crange-2d.s | ||
crange-2e.s | ||
crange-2f.s | ||
crange-2g.s | ||
crange-2h.s | ||
crange-2i.s | ||
crange1.rd | ||
crange2.rd | ||
crange3-cmpct.rd | ||
crange3-media.rd | ||
crange3.dd | ||
crange3.rd | ||
crangerel1.rd | ||
crangerel2.rd | ||
dlsection-1.s | ||
dlsection.sd | ||
endian.dbd | ||
endian.dld | ||
endian.ld | ||
endian.s | ||
endian.sbd | ||
endian.sld | ||
gotplt.d | ||
gotplt.map | ||
gotplt.s | ||
init-cmpct.d | ||
init-media.d | ||
init.s | ||
init64.d | ||
mix1-noexp.sd | ||
mix1.sd | ||
mix1.xd | ||
mix2-noexp.sd | ||
mix2.sd | ||
mix2.xd | ||
rd-sh64.exp | ||
rel-1.s | ||
rel-2.s | ||
rel32.xd | ||
rel64.xd | ||
relax.exp | ||
relax1.s | ||
relax2.s | ||
relax3.s | ||
relax4.s | ||
reldl-1.s | ||
reldl-2.s | ||
reldl32.rd | ||
reldl64.rd | ||
relfail.exp | ||
relfail.s | ||
sh64-1.s | ||
sh64-2.s | ||
sh64.exp | ||
shcmp-1.s | ||
shdl-1.s | ||
shdl-2.s | ||
shdl32.xd | ||
shdl64.sd | ||
shdl64.xd | ||
shmix-1.s | ||
shmix-2.s | ||
shmix-3.s | ||
stobin-0-dso.d | ||
stobin-1.d | ||
stobin.s | ||
stolib.s |