ld/
authorAlan Modra <amodra@gmail.com>
Fri, 15 Jun 2012 15:13:41 +0000 (15:13 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 15 Jun 2012 15:13:41 +0000 (15:13 +0000)
commitd2667025dd30611514810c28bee9709e4623012a
tree7364422fa955cf289aef9008298bb0bc79394d65
parent8e09ad05eda21f6772d6bcca1eb8b42e5d77be03
ld/
* 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.
121 files changed:
ld/ChangeLog
ld/emultempl/lnk960.em
ld/ldexp.c
ld/ldlang.c
ld/ldlang.h
ld/scripttempl/elf.sc
ld/testsuite/ChangeLog
ld/testsuite/ld-alpha/emptygot.nm
ld/testsuite/ld-alpha/tlsbin.rd
ld/testsuite/ld-alpha/tlsbinr.rd
ld/testsuite/ld-alpha/tlspic.rd
ld/testsuite/ld-arm/arm-dyn.ld
ld/testsuite/ld-arm/armthumb-lib.sym
ld/testsuite/ld-arm/farcall-mixed-app.sym
ld/testsuite/ld-arm/mixed-app.sym
ld/testsuite/ld-arm/mixed-lib.sym
ld/testsuite/ld-arm/preempt-app.sym
ld/testsuite/ld-cris/libdso-2.d
ld/testsuite/ld-cris/pv32-1.d
ld/testsuite/ld-cris/tls-e-20.d
ld/testsuite/ld-cris/tls-e-20a.d
ld/testsuite/ld-cris/tls-e-80.d
ld/testsuite/ld-cris/tls-e-tpoffcomm1.d
ld/testsuite/ld-cris/tls-gc-68.d
ld/testsuite/ld-cris/tls-gc-69.d
ld/testsuite/ld-cris/tls-gc-70.d
ld/testsuite/ld-cris/tls-gc-71.d
ld/testsuite/ld-cris/tls-gc-75.d
ld/testsuite/ld-cris/tls-gc-76.d
ld/testsuite/ld-cris/tls-gc-79.d
ld/testsuite/ld-cris/weakhiddso.d
ld/testsuite/ld-cris/weakref3.d
ld/testsuite/ld-cris/weakref4.d
ld/testsuite/ld-elfvsb/hidden2.d
ld/testsuite/ld-i386/tlsbin.rd
ld/testsuite/ld-i386/tlsbindesc.rd
ld/testsuite/ld-i386/tlsdesc.rd
ld/testsuite/ld-i386/tlsgdesc.rd
ld/testsuite/ld-i386/tlsnopic.rd
ld/testsuite/ld-i386/tlspic.rd
ld/testsuite/ld-ia64/tlsbin.rd
ld/testsuite/ld-ia64/tlspic.rd
ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got
ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got
ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d
ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got
ld/testsuite/ld-mmix/bpo-10.d
ld/testsuite/ld-mmix/bpo-11.d
ld/testsuite/ld-mmix/greg-6.d
ld/testsuite/ld-mmix/greg-7.d
ld/testsuite/ld-mmix/loc1.d
ld/testsuite/ld-mmix/loc2.d
ld/testsuite/ld-mmix/loc3.d
ld/testsuite/ld-mmix/loc4.d
ld/testsuite/ld-mmix/loc6.d
ld/testsuite/ld-mmix/locdo-1.d
ld/testsuite/ld-mmix/loct-1.d
ld/testsuite/ld-mmix/locto-1.d
ld/testsuite/ld-mmix/start-1.d
ld/testsuite/ld-mmix/undef-3.d
ld/testsuite/ld-powerpc/relbrlt.d
ld/testsuite/ld-powerpc/tlsexe.r
ld/testsuite/ld-powerpc/tlsexe32.r
ld/testsuite/ld-powerpc/tlsexetoc.r
ld/testsuite/ld-powerpc/tlsso.r
ld/testsuite/ld-powerpc/tlsso32.r
ld/testsuite/ld-powerpc/tlstocso.r
ld/testsuite/ld-s390/tlsbin.rd
ld/testsuite/ld-s390/tlsbin_64.rd
ld/testsuite/ld-s390/tlspic.rd
ld/testsuite/ld-s390/tlspic_64.rd
ld/testsuite/ld-scripts/empty-address-1.d
ld/testsuite/ld-scripts/empty-address-2a.d
ld/testsuite/ld-scripts/empty-address-2b.d
ld/testsuite/ld-scripts/empty-address-3a.d
ld/testsuite/ld-scripts/empty-address-3b.d
ld/testsuite/ld-scripts/empty-address-3c.d
ld/testsuite/ld-sh/sh64/abi32.xd
ld/testsuite/ld-sh/sh64/abi64.xd
ld/testsuite/ld-sh/sh64/cmpct1.xd
ld/testsuite/ld-sh/sh64/crange1.rd
ld/testsuite/ld-sh/sh64/crange2.rd
ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
ld/testsuite/ld-sh/sh64/crange3-media.rd
ld/testsuite/ld-sh/sh64/crange3.rd
ld/testsuite/ld-sh/sh64/mix1.xd
ld/testsuite/ld-sh/sh64/mix2.xd
ld/testsuite/ld-sh/sh64/shdl32.xd
ld/testsuite/ld-sh/sh64/shdl64.xd
ld/testsuite/ld-sparc/gotop32.rd
ld/testsuite/ld-sparc/gotop64.rd
ld/testsuite/ld-sparc/tlssunbin32.rd
ld/testsuite/ld-sparc/tlssunbin64.rd
ld/testsuite/ld-sparc/tlssunnopic32.rd
ld/testsuite/ld-sparc/tlssunnopic64.rd
ld/testsuite/ld-sparc/tlssunpic32.rd
ld/testsuite/ld-sparc/tlssunpic64.rd
ld/testsuite/ld-spu/icache1.d
ld/testsuite/ld-spu/pic.d
ld/testsuite/ld-tic6x/dsbt-be.ld
ld/testsuite/ld-tic6x/dsbt.ld
ld/testsuite/ld-tic6x/shlib-1.rd
ld/testsuite/ld-tic6x/shlib-1b.rd
ld/testsuite/ld-tic6x/shlib-1r.rd
ld/testsuite/ld-tic6x/shlib-1rb.rd
ld/testsuite/ld-tic6x/shlib-app-1.rd
ld/testsuite/ld-tic6x/shlib-app-1b.rd
ld/testsuite/ld-tic6x/shlib-app-1r.rd
ld/testsuite/ld-tic6x/shlib-app-1rb.rd
ld/testsuite/ld-tic6x/shlib-noindex.rd
ld/testsuite/ld-tic6x/static-app-1.rd
ld/testsuite/ld-tic6x/static-app-1b.rd
ld/testsuite/ld-tic6x/static-app-1r.rd
ld/testsuite/ld-tic6x/static-app-1rb.rd
ld/testsuite/ld-x86-64/tlsbin.rd
ld/testsuite/ld-x86-64/tlsbindesc.rd
ld/testsuite/ld-x86-64/tlsdesc.rd
ld/testsuite/ld-x86-64/tlsgdesc.rd
ld/testsuite/ld-x86-64/tlspic.rd
This page took 0.038084 seconds and 4 git commands to generate.