------- Comment #17 from vapier at gentoo dot org  2010-08-18 03:23 -------
thanks for the shorter test case.  could you explain why a 64bit load is used
though ?  if you're looking for the address of something, and you're not going
through a pointer to that location, why isnt it a normal lea with a relocation
?

your short test case though doesnt show exactly the same as ours ... we arent
going through the GOT or have a relocation on the load ...

as for compiling glibc as it wasnt meant to be, that's pretty vague.  i think
the only way to get a glibc the way it is _meant_ to be compiled is by getting
a binary package from drepper himself.  and even then, who knows.  for a
project that doesnt support cross-compiling, doesnt support static linking,
doesnt support a good number of architectures, it's no wonder eglibc exists.  i
hate to point out that Gentoo was doing SSP/PIE light years before Redhat and
glibc/gcc, and that was "unsupported" for a long time too.  now it's a stock
part of glibc ...


-- 


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

Reply via email to