FreeBSD/contrib/gcc/varasm.c
/* Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT.
   NAME is the name of DECL's SYMBOL_REF.  */
Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT.
NAME is the name of DECL's SYMBOL_REF.
Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT . NAME is the name of DECL ' s SYMBOL_REF .
static void
assemble_noswitch_variable (tree decl, const char *name, section *sect)
{
  unsigned HOST_WIDE_INT size, rounded;
  size = tree_low_cst (DECL_SIZE_UNIT (decl), 1);
  rounded = size;
  if (size == 0)
    rounded = 1;
  rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1;
  rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT)
	     * (BIGGEST_ALIGNMENT / BITS_PER_UNIT));
  if (!sect->noswitch.callback (decl, name, size, rounded)
      && (unsigned HOST_WIDE_INT) DECL_ALIGN_UNIT (decl) > rounded)
    warning (0, "requested alignment for %q+D is greater than "
	     "implemented alignment of %wu", decl, rounded);
}
static void assemble_noswitch_variable ( tree decl , const char * name , section * sect ) { unsigned HOST_WIDE_INT size , rounded ; size = tree_low_cst ( DECL_SIZE_UNIT ( decl ) , 1 ) ; rounded = size ; if ( size == 0 ) rounded = 1 ; rounded += ( BIGGEST_ALIGNMENT / BITS_PER_UNIT ) - 1 ; rounded = ( rounded / ( BIGGEST_ALIGNMENT / BITS_PER_UNIT ) * ( BIGGEST_ALIGNMENT / BITS_PER_UNIT ) ) ; if ( ! sect -> noswitch . callback ( decl , name , size , rounded ) && ( unsigned HOST_WIDE_INT ) DECL_ALIGN_UNIT ( decl ) > rounded ) warning ( 0 , " " " " , decl , rounded ) ; }
Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT.
Assemble DECL given that it belongs in SECTION_NOSWITCH section SECT .
/* Don't allocate zero bytes of common,
     since that means "undefined external" in the linker.  */ /* Round size up to multiple of BIGGEST_ALIGNMENT bits
     so that each uninitialized object starts on such a boundary.  */