comparison lwlink/lwlink.c @ 183:c6a38fd8bd33

Added --entry option for lwlink
author lost@l-w.ca
date Thu, 22 Dec 2011 18:01:59 -0700
parents 606123758641
children
comparison
equal deleted inserted replaced
182:e0cc66fd0551 183:c6a38fd8bd33
48 48
49 int nscriptls = 0; 49 int nscriptls = 0;
50 char **scriptls = NULL; 50 char **scriptls = NULL;
51 51
52 char *sysroot = "/"; 52 char *sysroot = "/";
53
54 char *entrysym = NULL;
53 55
54 void add_input_file(char *fn) 56 void add_input_file(char *fn)
55 { 57 {
56 inputfiles = lw_realloc(inputfiles, sizeof(fileinfo_t *) * (ninputfiles + 1)); 58 inputfiles = lw_realloc(inputfiles, sizeof(fileinfo_t *) * (ninputfiles + 1));
57 inputfiles[ninputfiles] = lw_alloc(sizeof(fileinfo_t)); 59 inputfiles[ninputfiles] = lw_alloc(sizeof(fileinfo_t));