/[tinycc]/tinycc/tccelf.c
ViewVC logotype

Diff of /tinycc/tccelf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by bellard, Sat Oct 4 14:45:23 2003 UTC revision 1.19 by bellard, Sat Oct 4 21:24:46 2003 UTC
# Line 849  static void tcc_add_runtime(TCCState *s1 Line 849  static void tcc_add_runtime(TCCState *s1
849  #endif  #endif
850      }      }
851  #endif  #endif
852      /* add libc if not memory output */      /* add libc */
853      if (s1->output_type != TCC_OUTPUT_MEMORY && !s1->nostdlib) {      if (!s1->nostdlib) {
854          tcc_add_library(s1, "c");          tcc_add_library(s1, "c");
855        }
856        /* add crt end if not memory output */
857        if (s1->output_type != TCC_OUTPUT_MEMORY && !s1->nostdlib) {
858          tcc_add_file(s1, CONFIG_TCC_CRT_PREFIX "/crtn.o");          tcc_add_file(s1, CONFIG_TCC_CRT_PREFIX "/crtn.o");
859      }      }
860      /* add various standard linker symbols */      /* add various standard linker symbols */

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26