Home | History | Annotate | Download | only in toolchain

Lines Matching refs:toc

6 """Runs 'ld -shared' and generates a .TOC file that's untouched when unchanged.
37 toc = ''
42 toc += line
43 return readelf.wait(), toc
48 toc = ''
53 toc += ' '.join(line.split(' ', 2)[:2]) + '\n'
54 return nm.wait(), toc
58 result, toc = CollectSONAME(args)
61 toc += dynsym
62 return result, toc
65 def UpdateTOC(tocfile, toc):
70 if toc != old_toc:
71 open(tocfile, 'w').write(toc)
108 # Next, generate the contents of the TOC file.
109 result, toc = CollectTOC(args)
113 # If there is an existing TOC file with identical contents, leave it alone.
114 # Otherwise, write out the TOC file.
115 UpdateTOC(args.tocfile, toc)