------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-19 
03:11 -------
The difference between non protected and protected functions is the following 
in the asm:
        movl    [EMAIL PROTECTED](%ebx), %eax
        leal    [EMAIL PROTECTED](%ebx), %eax

but really add -fPIC to m.c make this work, so again this looks like an ld bug 
(maybe it is keeping the 
symbol protected or something).

Or gcc is doing:
        cmpl    $foo, -4(%ebp)

 which is not wrong in the non pic case.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520

Reply via email to