This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: solaris, collect2 and ld (patch)


>   >  /* 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]