lkml.org 
[lkml]   [1996]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: z-NULL strings cause "segmenation fault"
From
Date
I wrote something in this thread about gcc -fpic only using %ebx as a
dedicated pic register in functions that use global variables. I was
wrong. I just checked the source, and gcc -fpic *always* dedicates
%ebx as a pic register. To add insult to injury, in many cases it
will also generate code to save, initialize, and restore %ebx even if
it is not used in a function.

The -fpic implementation on i386 sucks harder than I thought.

Tom.

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.040 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site