Home | History | Annotate | Download | only in ld

Lines Matching refs:addSection

408 // addSection adds section to the COFF file f.
409 func (f *peFile) addSection(name string, sectsize int, filesize int) *peSection {
428 // This function is similar to addSection, but DWARF section names are
441 h := f.addSection(name, size, size)
480 sect := f.addSection(".ctors", size, size)
716 h = f.addSection(".symtab", size, size)
1118 isect := pefile.addSection(".idata", int(n), int(n))
1207 sect := pefile.addSection(".edata", size, size)
1285 h := pefile.addSection(".rsrc", int(rsrcsym.Size), int(rsrcsym.Size))
1322 t := pefile.addSection(".text", int(Segtext.Length), int(Segtext.Length))
1334 d = pefile.addSection(".data", int(Segdata.Length), int(Segdata.Filelen))
1339 d = pefile.addSection(".data", int(Segdata.Filelen), int(Segdata.Filelen))
1344 b := pefile.addSection(".bss", int(Segdata.Length-Segdata.Filelen), 0)