cvs commit: src/sys/sys

Joerg Sonnenberger joerg at
Fri Aug 27 05:09:09 PDT 2004

joerg       2004/08/27 05:08:41 PDT

DragonFly src repository

  Modified files:
    sys/sys              cdefs.h linker_set.h 
  Fix linker set creation for GCC 3.4 with -funit-at-a-time.
  GCC 3.4 optimizes away global statics, which are referenced. Define a new
  macro __used, which expands to attribute((used)) and tells the compiler that
  a certain static indead referenced. For older versions and other compilers
  it defaults to the meaning of __unused to avoid warnings.
  Revision  Changes    Path
  1.11      +2 -0      src/sys/sys/cdefs.h
  1.4       +1 -1      src/sys/sys/linker_set.h

More information about the Commits mailing list