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 -fstack-protector target-supports.exp



On Apr 9, 2007, at 11:16 AM, Andrew Pinski wrote:


On 3/13/07, Eric Christopher <echristo@apple.com> wrote:
Here's a couple of quick tests to ensure that -fstack-protector is
working. I've got them enabled for native only.

Tested on x86_64-linux-gnu, x86-darwin, x86_64-darwin, mipsisa64-elf
(to make sure they didn't run).

These testcase fails if libc does not have ssp support and libssp is not installed already:

OK, here's a fix for it. Tested on x86-darwin8 and x86-darwin9 (with and without libc
ssp support). I can't try ppc since my ppc machine is unconsolable at the moment.
I did try mipsisa64-elf to verify that the test isn't run there either.


Janis OK?

-eric

2007-04-09 Eric Christopher <echristo@apple.com>

	* lib/target-supports.exp (check_effective_target_fstack_protector):
	Rewrite.


Attachment: target-supports.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]