26f62305fe
* Tue Jul 10 2012 David Malcolm <dmalcolm@redhat.com> - 1.9-3 - log all output from "make" (patch 6) - disable the MOTD at startup (patch 7) - hide symbols from the dynamic linker (patch 8) - add PyInt_AsUnsignedLongLongMask (patch 9) - capture the Makefile, the typeids.txt, and the dynamic-symbols file within the debuginfo package
16 lines
544 B
Diff
16 lines
544 B
Diff
diff --git a/pypy/translator/platform/posix.py b/pypy/translator/platform/posix.py
|
|
--- a/pypy/translator/platform/posix.py
|
|
+++ b/pypy/translator/platform/posix.py
|
|
@@ -48,8 +48,10 @@
|
|
response_file = self._make_response_file("dynamic-symbols-")
|
|
f = response_file.open("w")
|
|
f.write("{\n")
|
|
+ f.write(" global:\n")
|
|
for sym in eci.export_symbols:
|
|
- f.write("%s;\n" % (sym,))
|
|
+ f.write(" %s;\n" % (sym,))
|
|
+ f.write(" local:*;\n")
|
|
f.write("};")
|
|
f.close()
|
|
|