Home | History | Annotate | Download | only in ld-shared
      1 /* This is part of the shared library ld test.  This file becomes part
      2    of a shared library.  */
      3 
      4 /* This variable is defined here, and referenced by another file in
      5    the shared library.  */
      6 int shlibvar2 = 4;
      7 
      8 /* This function is called by another file in the shared library.  */
      9 
     10 int
     11 shlib_shlibcalled ()
     12 {
     13   return 5;
     14 }
     15 
     16 #ifndef XCOFF_TEST
     17 int
     18 shlib_overriddencall2 ()
     19 {
     20   return 7;
     21 }
     22 #endif
     23