Commit 2e3e8cea by John David Anglin Committed by John David Anglin

re PR middle-end/30174 (FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test)

	PR middle-end/30174
	* varasm.c (notice_global_symbol): Treat global objects as weak when
	flag_shlib is true.

From-SVN: r121551
parent b86a760a
2007-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/30174
* varasm.c (notice_global_symbol): Treat global objects as weak when
flag_shlib is true.
2007-02-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* emit-rtl.c (dconstpi): Delete.
......
......@@ -1323,7 +1323,7 @@ notice_global_symbol (tree decl)
/* We win when global object is found, but it is useful to know about weak
symbol as well so we can produce nicer unique names. */
if (DECL_WEAK (decl) || DECL_ONE_ONLY (decl))
if (DECL_WEAK (decl) || DECL_ONE_ONLY (decl) || flag_shlib)
type = &weak_global_object_name;
if (!*type)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment