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. |
||
---|---|---|
.. | ||
abs.d | ||
abs.s | ||
alloc.d | ||
alloc.s | ||
alloc.t | ||
combreloc.d | ||
combreloc.s | ||
compressed1.d | ||
compressed1.s | ||
discarded1.d | ||
discarded1.s | ||
discarded1.t | ||
emit-relocs-nacl.rd | ||
emit-relocs.rd | ||
emit-relocs.s | ||
hidden1.d | ||
hidden1.s | ||
hidden2.d | ||
hidden2.s | ||
hidden3.d | ||
hidden3.s | ||
i386.exp | ||
nogot1.d | ||
nogot1.s | ||
nogot2.d | ||
nogot2.s | ||
pcrel8.d | ||
pcrel8.s | ||
pcrel16.d | ||
pcrel16.s | ||
pcrel16abs.d | ||
pcrel16abs.s | ||
plt-nacl.pd | ||
plt-pic-nacl.pd | ||
plt-pic.pd | ||
plt-pic.s | ||
plt.pd | ||
plt.s | ||
pltlib.s | ||
pr12570a.d | ||
pr12570a.s | ||
pr12570b.d | ||
pr12570b.s | ||
pr12627.d | ||
pr12627.s | ||
pr12627.t | ||
pr12718.d | ||
pr12718.s | ||
pr12921.d | ||
pr12921.s | ||
pr13302.d | ||
pr13302.s | ||
pr14215.d | ||
pr14215.s | ||
protected1.d | ||
protected1.s | ||
protected2.d | ||
protected2.s | ||
protected3.d | ||
protected3.s | ||
protected4.d | ||
protected4.s | ||
protected5.d | ||
protected5.s | ||
reloc.d | ||
reloc.s | ||
tlsbin-nacl.rd | ||
tlsbin.dd | ||
tlsbin.rd | ||
tlsbin.s | ||
tlsbin.sd | ||
tlsbin.td | ||
tlsbindesc-nacl.rd | ||
tlsbindesc.dd | ||
tlsbindesc.rd | ||
tlsbindesc.s | ||
tlsbindesc.sd | ||
tlsbindesc.td | ||
tlsbinpic.s | ||
tlsdesc-nacl.rd | ||
tlsdesc.dd | ||
tlsdesc.rd | ||
tlsdesc.s | ||
tlsdesc.sd | ||
tlsdesc.td | ||
tlsg.s | ||
tlsg.sd | ||
tlsgd1.dd | ||
tlsgd1.s | ||
tlsgd2.d | ||
tlsgd2.s | ||
tlsgdesc-nacl.rd | ||
tlsgdesc.dd | ||
tlsgdesc.rd | ||
tlsgdesc.s | ||
tlsie1.dd | ||
tlsie1.s | ||
tlsie2.d | ||
tlsie2.s | ||
tlsie3.d | ||
tlsie3.s | ||
tlsie4.d | ||
tlsie4.s | ||
tlsie5.d | ||
tlsie5.s | ||
tlsindntpoff.dd | ||
tlsindntpoff.s | ||
tlsld1.dd | ||
tlsld1.s | ||
tlslib.s | ||
tlsnopic-nacl.rd | ||
tlsnopic.dd | ||
tlsnopic.rd | ||
tlsnopic.sd | ||
tlsnopic1.s | ||
tlsnopic2.s | ||
tlspic-nacl.rd | ||
tlspic.dd | ||
tlspic.rd | ||
tlspic.sd | ||
tlspic.td | ||
tlspic1.s | ||
tlspic2.s | ||
tlspie1.d | ||
tlspie1.s | ||
tlspie2.d | ||
tlspie2.s | ||
vxworks1-lib.dd | ||
vxworks1-lib.nd | ||
vxworks1-lib.rd | ||
vxworks1-lib.s | ||
vxworks1-lib.td | ||
vxworks1-static.d | ||
vxworks1.dd | ||
vxworks1.ld | ||
vxworks1.rd | ||
vxworks1.s | ||
vxworks2-static.sd | ||
vxworks2.s | ||
vxworks2.sd | ||
warn1.d | ||
warn1.s | ||
zero.s |