This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR target/20799, operator new does not work in shared library/bundle


The problem here is we are coalescing "::operator new" and "::operator delete"
even though they are not marked as weak. This patch removes the "hack" which
implements this. This has been on the apple-ppc-branch for some time now.


OK? Bootstrapped and tested on powerpc-darwin7.9 with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* config/darwin.c (machopic_select_section): Remove the hack to
	mark "::operator new" and "::operator delete" for coalescing
	even though they are not weak.


Attachment: fixPR20799.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]