------- Comment #24 from jh at suse dot cz  2008-02-26 09:43 -------
Subject: Re:  Stack not aligned at mod 16 byte boundary in x86_64 code

> I guess we need
> 1) Get the patch to check overwritability of body to mainline and branch, 
> since
> it is quite wrong to optimize based on knowledge of body that might be 
> replaced
> 2) Figure out how to get Apple's linker in sync with Darwin backend in GCC.  
> If
> the symbols are locally bound I guess the backend should just output the 
> direct
> call, not via PLT table. If the objects are not locally bound we need to 
> change
> the predicate.
> I am not terribly familiar with MACHOPIC, what is the case?  (ie does MACHOPIC
> allow overwritting -fpic symbols like ELF?)

So in short both fixes are at GCC rather than linker side, assuming that
linker will link direct call to externally visible symbol at link time,
rather than dynamic load time that would be case of ELF?  Can someone
check this?

Honza


-- 


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

Reply via email to