History log of /openbsd/gnu/usr.bin/gcc/gcc/flags.h (Results 1 – 7 of 7)
Revision Date Author Comments
# 25ebe28b 10-Nov-2014 miod <miod@openbsd.org>

Make flag_gcse non-static.


# 1adc4e47 20-Jan-2014 martynas <martynas@openbsd.org>

Add strong stack protector mode for the original propolice in GCC3.
This includes additional functions to be protected --- those that
have local array definitions, or have references to local frame
a

Add strong stack protector mode for the original propolice in GCC3.
This includes additional functions to be protected --- those that
have local array definitions, or have references to local frame
addresses.

Miod verified that this works on real hardware, and not just on the
cross-compiled monster I tested this on.

show more ...


# 3497dfe1 11-Nov-2008 kurt <kurt@openbsd.org>

Add support for position independent executables. This adds compile flags
-fpie & -fPIE which are similar to -fpic & -fPIC except that the resulting
objects can not be used in shared libraries due to

Add support for position independent executables. This adds compile flags
-fpie & -fPIE which are similar to -fpic & -fPIC except that the resulting
objects can not be used in shared libraries due to an additional
optimization for pie. This also adds the -pie link flag which produces a
pie executable given pic or pie objects. Combining -pie with -static is
currently disabled. The only gcc3 arch that doesn't support pie at moment
is arm due to binutils relocation bugs.

ok kettenis@

show more ...


# 8c057a53 26-Nov-2007 miod <miod@openbsd.org>

Add a new warning to gcc, -Wvariable-decl, which causes it to warn for
auto declarations which size are not known at compile time.

This flag will eventually be added to the kernel makefiles so that

Add a new warning to gcc, -Wvariable-decl, which causes it to warn for
auto declarations which size are not known at compile time.

This flag will eventually be added to the kernel makefiles so that we
can rely on -Wstack-larger-than work.

ok deraadt@ mbalmer@ otto@ marco@

show more ...


# 302f939f 20-Jul-2006 miod <miod@openbsd.org>

Introduce a new compiler warning, -Wstack-larger-than-N, to report
functions which are too greedy in stack variables.

This is intended to be used for kernel compiles, where this warning will
be enab

Introduce a new compiler warning, -Wstack-larger-than-N, to report
functions which are too greedy in stack variables.

This is intended to be used for kernel compiles, where this warning will
be enabled for a reasonable size (after a few weeks grace period so that
people can upgrade their compiler).

Please note that this warning relies upon md code, and as such is only
available on platforms OpenBSD runs on; also, the stack size being warned
on is only the local variables size, regardless of the ABI stack usage
requirements and the callee-saved registers; which means a function may
be warning-clean yet need more stack space than meets the eye; the
actual size being checked on may change to include these extras in the
future.

show more ...


# 5982dd4a 22-Jan-2004 etoh <etoh@openbsd.org>

initial release of propolice gcc 3.3.2


# c87b03e5 29-Nov-2003 espie <espie@openbsd.org>

Import gcc-3.3.2. Only the compiler. ada frontend removed for space
considerations.