Lines Matching full:toc
6 """Runs 'ld -shared' and generates a .TOC file that's untouched when unchanged.
26 toc = ''
34 toc += line
35 return readelf.wait(), toc
40 toc = ''
47 toc += ' '.join(line.split(' ', 2)[:2]) + '\n'
48 return nm.wait(), toc
52 result, toc = CollectSONAME(args)
55 toc += dynsym
56 return result, toc
59 def UpdateTOC(tocfile, toc): argument
64 if toc != old_toc:
65 open(tocfile, 'w').write(toc)
138 # - The TOC file optimization isn't useful, because the partition libraries
147 # files for the TOC and stripped lib.
186 # Next, generate the contents of the TOC file.
187 result, toc = CollectTOC(args)
191 # If there is an existing TOC file with identical contents, leave it alone.
192 # Otherwise, write out the TOC file.
193 UpdateTOC(args.tocfile, toc)