* 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. |
||
---|---|---|
.. | ||
gotop32.dd | ||
gotop32.rd | ||
gotop32.s | ||
gotop32.sd | ||
gotop32.td | ||
gotop64.dd | ||
gotop64.rd | ||
gotop64.s | ||
gotop64.sd | ||
gotop64.td | ||
sparc.exp | ||
tlsg32.s | ||
tlsg32.sd | ||
tlsg64.s | ||
tlsg64.sd | ||
tlslib.s | ||
tlsnopic.s | ||
tlspic.s | ||
tlssunbin32.dd | ||
tlssunbin32.rd | ||
tlssunbin32.s | ||
tlssunbin32.sd | ||
tlssunbin32.td | ||
tlssunbin64.dd | ||
tlssunbin64.rd | ||
tlssunbin64.s | ||
tlssunbin64.sd | ||
tlssunbin64.td | ||
tlssunbinpic32.s | ||
tlssunbinpic64.s | ||
tlssunnopic32.dd | ||
tlssunnopic32.rd | ||
tlssunnopic32.s | ||
tlssunnopic32.sd | ||
tlssunnopic64.dd | ||
tlssunnopic64.rd | ||
tlssunnopic64.s | ||
tlssunnopic64.sd | ||
tlssunpic32.dd | ||
tlssunpic32.rd | ||
tlssunpic32.s | ||
tlssunpic32.sd | ||
tlssunpic32.td | ||
tlssunpic64.dd | ||
tlssunpic64.rd | ||
tlssunpic64.s | ||
tlssunpic64.sd | ||
tlssunpic64.td | ||
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 |