]> granicus.if.org Git - python/commit
Revert SF patch #103655. Martin Löwis says:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 19 Feb 2001 18:17:33 +0000 (18:17 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 19 Feb 2001 18:17:33 +0000 (18:17 +0000)
commit95052725115953bb19bdef16b6410c8393eaa19c
treedf172dddae256b7e0985945aa1b8d98330ace1e5
parent653809c1228031b469c4a53afdf6248033c27e3e
Revert SF patch #103655.  Martin Löwis says:

-shared does the following things:
- invoke the linker with -G -dy -z text (the latter only if
  -mimpure-text was not given)
- drop crt1.o from the list of objects being linked
- drop -lc from the list of libraries being linked
OTOH, -G is just passed through to the linker.

The things that -shared does are necessary: crt1.o defines _start, and
requires main, so it should not be present in a shared library.
Likewise, -z text should be used to detect position-dependent code at
compile time.
configure.in