Re: z-NULL strings cause "segmenation fault"
Tom May (ftom@netcom.com)
24 Sep 1996 18:48:31 -0700
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.