Changeset 596


Ignore:
Timestamp:
Aug 15, 2003, 3:41:13 AM (22 years ago)
Author:
bird
Message:

WEAKBSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/weak/weaksimple.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r595 r596  
    1 #if 0  /* doesn't work :/ Why?!? */
     1#define WEAKBSS
     2/* must be compiled with -fno-common! */
     3
     4#ifdef WEAKBSS
    25#pragma weak weakbss
    36int     weakbss;
     
    1518int main()
    1619{
    17     return weaktext() + /*weakbss + */ weakdata;
     20    return weaktext()
     21#ifdef WEAKBSS
     22        + weakbss
     23#endif
     24        + weakdata;
    1825}
    1926
Note: See TracChangeset for help on using the changeset viewer.