patch to align gobal vars having packed attribute

Jeffrey A Law law@cygnus.com
Thu Aug 10 16:17:00 GMT 2000


  In message < Pine.SOL.3.91.1000810160343.27745H-100000@emperor.cygnus.com >you 
write:
   >   The change i have applied to varasm.c only does if struct is a local 
  > variable. The above change outputs the .align 0 if struct is a global 
  > variable.
You need to find some other way to fix this.  Changing c-*.c to output
assembler directives isn't acceptable.

At some point every decl has to go through code in varasm.c.  That is the
place you need to fix this problem.
jeff




More information about the Gcc-patches mailing list