aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/riscv
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-01-24 10:25:49 +1030
committerAlan Modra <amodra@gmail.com>2022-04-10 08:37:38 +0930
commit1a85970f41ea1e5abe6da2298a5e8fedcea26b70 (patch)
tree95125deb65dc1d17e1311fdcfea84ff63489e4b7 /sysdeps/riscv
parent31a9bc8c55adc2a8d6f8f795a577ba5d5eca7506 (diff)
downloadglibc-1a85970f41ea1e5abe6da2298a5e8fedcea26b70.zip
glibc-1a85970f41ea1e5abe6da2298a5e8fedcea26b70.tar.gz
glibc-1a85970f41ea1e5abe6da2298a5e8fedcea26b70.tar.bz2
powerpc: Relocate stinfo->main
start_addresses in sysdeps/powerpc/powerpc64/start.S is historical baggage that should disappear. Until someone does that, relocating stinfo->main by hand is one solution to the fact that the field may be unrelocated at the time it is accessed. This is similar to what is done for dynamic tags via the D_PTR macro. stinfo->init and stinfo->fini are zero in both powerpc64/start.S and powerpc32/start.S, so make it a little more obvious they are unused by passing NULLs to LIBC_START_MAIN. The makefile change is needed to pick up elf/dl-static-tls.h from dl-machine.h. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'sysdeps/riscv')
0 files changed, 0 insertions, 0 deletions