solaris, collect2 and ld (patch)
Mirar
mirar@idonex.se
Sat Jun 19 10:41:00 GMT 1999
> > /* Use .uahalf/.uaword so packed structure members don't generate
> > assembler errors when using the native assembler. */
> All this patch is trade one set of bugs for another set of bugs.
Well - does packed structures work, anyway? What does the assembler do
when accessing unaligned words? (I don't know - I've never used packed
structures.)
> What we really need to do is use autoconf to detect proper support for the
> .ua* assembler directives.
Well - I guess the Correct solution would be to use ua* stuff only
when needed (in packed structure members). How is this solved on other
processors that doesn't support unaligned memory accesses?
/Mirar
More information about the Gcc-bugs
mailing list