pike.git / NT / tools / pntld

version» Context lines:

pike.git/NT/tools/pntld:135:   #ifdef DEBUG    werror("Encoding section named: %s\n",s->name);   #endif    sectiontable+=    sprintf("%s%-4c%-4c%-4c%-4c%-4c%-4c%-2c%-2c%-4c",    add_sym_name(s->name),    s->virtual_size,    0, /* virtual address */    virtual_data_size(s->data),    stringp(s->data) ? (base + strlen(sectiondata)) : 0, -  s->relocs && (base + strlen(sectiondata) + file_data_sizes->data), +  s->relocs && (base + strlen(sectiondata) + file_data_size(s->data)),    0, /* no linenums yet */    s->relocs && sizeof(s->relocs),    0,    s->characteristics);       if(stringp(s->data))    sectiondata+=s->data;       if(s->relocs)    foreach(s->relocs, Reloc r)
pike.git/NT/tools/pntld:769:    }   }      int main(int argc, array(string) argv)   {    int err;    int strip=0;    string output="a.out";   // werror("%O\n",argv);    werror("Pike Win32 partial linker.\n" -  "$Id: pntld,v 1.3 2000/12/28 01:01:11 hubbe Exp $\n" +  "$Id: pntld,v 1.4 2000/12/28 01:17:04 hubbe Exp $\n"    "Written by Fredrik Hubinette 2000\n");       foreach(Getopt.find_all_options(argv,aggregate(    ({"output",Getopt.HAS_ARG,({"-o"})}),    ({"R",Getopt.HAS_ARG,({"-R"})}),    ({"L",Getopt.HAS_ARG,({"-L"})}),    ({"l",Getopt.HAS_ARG,({"-l"})}),    ({"S",Getopt.NO_ARG,({"-S"})}),    ({"ignore","Getopt.HAS_ARG",({"-r","-i","-s","-g","-B","-W"})}),    )),array opt)