This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 for PIC mode on IA64 (fixes libgomp failures on HP-UX)


On Thu, 2008-07-31 at 20:30 +0200, Ralf Wildenhues wrote:

> What I don't quite understand is why you deem it better to change GCC
> than to change Libtool.  I assume your change pessimizes TLS with
> static libgomp?  If so, does anybody care about that (asking because
> I have no idea)?
> 
> Thanks,
> Ralf

It does pessimize TLS.  But this is what the HP and Intel compilers do
in their default modes.  One can override the TLS model if desired with
the -ftls-model option.  It also simplifies the IA64 runtime setup in
that we don't have a PIC mode and an almost-PIC mode.  We can simply say
that -fpic is the default.

Steve Ellcey
sje@cup.hp.com


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