Re: [RFC] Move TLS load module addr fetching to dwarf2loc.c

Ulrich Weigand
2005-03-24T22:28:20Z

Kevin Buettner wrote:

> The patch below makes that interface change, moves the fetching of the
> TLS load module from linux-thread-db.c to dwarf2loc.c, and adjusts the
> various GNU/Linux targets (except for FRV) so that TLS support is enabled.
> TLS support for GNU/Linux on FRV will be forthcoming -- it uses a
> different shared library mechanism than the other GNU/Linux targets
> and thus requires a separate patch.
[snip]
> * alpha-linux-tdep.c (solib-svr4.h): Include.
> (alpha_linux_init_abi): Register TLS load module fetcher.
> * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
> * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
> * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
> * ia64-linux-tdep.c (solib-svr4.h): Include.
> (ia64_linux_init_abi): Register TLS load module fetcher.
> * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
> * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
> * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
> * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
> * sparc64-linux-tdep.c (solib-svr4.h): Include.
> (sparc64_linux_init_abi): Register TLS load module fetcher.
> * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
> (sparc-linux-tdep.o): Update dependencies.

What about s390? I guess we need the same change ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com