(root)/
gcc-13.2.0/
libgcc/
config/
rs6000/
aixinitfini.c
       1  /* FIXME: rename this file */
       2  
       3  /*
       4     Artificially create _GLOBAL_AIX[ID]_shr_o symbols in libgcc.a.
       5  
       6     This means that libstdc++.a can invoke these symbols and they are resolved
       7     regardless of whether libstdc++.a is linked against libgcc_s.a or libgcc.a.
       8  
       9     The symbols are created in libgcc_s.a by collect2 as there are exception
      10     frames to register for LIB2_DIVMOD_FUNCS.
      11  
      12     The symbols are NOT created by collect2 for libgcc.a, because libgcc.a is
      13     a 'real' archive containing objects and collect2 is not invoked.
      14  
      15     libstdc++.a is linked against libgcc.a when handling the command line
      16     options '-static-libgcc -static-libstdc++'.
      17  */
      18  
      19  void _GLOBAL__AIXI_shr_o (void);
      20  void _GLOBAL__AIXD_shr_o (void);
      21  
      22  void
      23  _GLOBAL__AIXI_shr_o (void)
      24  {
      25    return;
      26  }
      27  
      28  void
      29  _GLOBAL__AIXD_shr_o (void)
      30  {
      31    return;
      32  }
      33