This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC64 tls fixes


> On Tue, Mar 04, 2003 at 11:33:05PM -0800, Roland McGrath wrote:
> > Well, the 16-bit TLS relocs were what I asked about, perhaps it wasn't
> > clear.  Would those not also be generated in any non-PIC code doing
> > IE-model TLS access?
> 
> No, DTPREL16 relocs won't ever be dynamic (unless I'm totally confused!).
> They're tls block relative relocs used in LD model, so the linker is
> able to resolve them.

Right.  I was asking really only about TPREL, then.  If non-PIC code is kosher,
then it would look like e.g.

	addi 3,13,x at tprel	R_PPC64_TPREL16		x


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]