4 extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o")
5 symbols.add(ProvidedSymbol('__dso_handle', None, None, True))
7 + if soname in ("libc.so.0"):
8 + symbols.add(ProvidedSymbol('__uClibc_init', None, None, True))
9 + symbols.add(ProvidedSymbol('__uClibc_fini', None, None, True))
10 + extra_flags.append("-Wl,-init,__uClibc_init")
12 map_file = find_pic_map(library)
14 extra_flags.append("-Wl,--version-script=" + map_file)