torsdag 3 maj 2018 kl. 06:19:20 CEST skrev du:
> On 05/02/2018 07:05 PM, Magnus Granberg wrote:
> > torsdag 3 maj 2018 kl. 01:48:16 CEST skrev du:
> >> On 05/02/2018 06:17 PM, Magnus Granberg wrote:
> >>> torsdag 3 maj 2018 kl. 01:07:51 CEST skrev Daniel Santos:
>
torsdag 3 maj 2018 kl. 01:07:51 CEST skrev Daniel Santos:
> Hello
>
> On 05/01/2018 06:32 AM, Magnus Granberg wrote:
> > New patch
> > libgcc/ChangeLog:
> >
> > 2018-05-01 Magnus Granberg <zo...@gentoo.org>
> >
> > * config/i386/resm
tisdag 1 maj 2018 kl. 12:33:33 CEST skrev Jakub Jelinek:
> On Tue, May 01, 2018 at 12:24:44PM +0200, Magnus Granberg wrote:
> > Hi
> >
> > The *_resms64*.S files in libgcc don't have section to remove the
> > executable stack marking. Can this be added to Gcc 8.0
Hi
The *_resms64*.S files in libgcc don't have section to remove the
executable stack marking. Can this be added to Gcc 8.0 Rc?
gcc/ChangeLog:
2018-05-01 Magnus Granberg <zo...@gentoo.org>
* config/i386/cet.h: Add section to remove executable stack marking.
---
--- a/gcc/confi
onsdag 24 augusti 2016 kl. 18:21:07 CEST skrev Szabolcs Nagy:
> On 20/07/16 14:58, Szabolcs Nagy wrote:
> > since gcc can be built with --enable-default-pie, there
> > is a -no-pie flag to turn off PIE.
> >
> > gcc cannot be built as PIE (pr 71934), so the gcc build
> > system has to detect the
måndag 20 juli 2015 16.32.01 skrev Magnus Granberg:
Patch updated and tested on x86_64-unknown-linux-gnu (Gentoo)
Changlogs
/gcc
2015-07-05 Magnus Granberg zo...@gentoo.org
* common.opt (fstack-protector): Initialize to -1.
(fstack-protector-all): Likewise
måndag 13 juli 2015 15.20.40 skrev Magnus Granberg:
söndag 05 juli 2015 23.59.32 skrev Magnus Granberg:
Changlogs
/gcc
2015-07-05 Magnus Granberg zo...@gentoo.org
* common.opt (fstack-protector): Initialize to -1.
(fstack-protector-all): Likewise
söndag 05 juli 2015 23.59.32 skrev Magnus Granberg:
Changlogs
/gcc
2015-07-05 Magnus Granberg zo...@gentoo.org
* common.opt (fstack-protector): Initialize to -1.
(fstack-protector-all): Likewise.
(fstack-protector-strong): Likewise.
(fstack-protector
fredag 03 juli 2015 01.01.51 skrev Magnus Granberg:
Hi
Working on a patch that enable Smart Stack Protection as default.
I still miss docs and testcase for the patch. I need you ides and help.
/Magnus G.
---
New patch with doc and testcase added.
/Magnus G.
Changlogs
/gcc
2015-07-05
Hi
Working on a patch that enable Smart Stack Protection as default.
I still miss docs and testcase for the patch. I need you ides and help.
/Magnus G.
---
--- a/gcc/configure.ac 2014-12-05 00:53:24.0 +0100
+++ b/gcc/configure.ac 2015-06-08 23:27:11.744348211 +0200
@@ -5221,6 +5119,25 @@
fredag 08 maj 2015 10.35.44 skrev H.J. Lu:
On Thu, May 7, 2015 at 2:17 PM, Joseph Myers jos...@codesourcery.com
wrote:
On Fri, 6 Mar 2015, H.J. Lu wrote:
+# We don't want to compile the compiler with -fPIE, it make PCH fail.
+COMPILER += @NO_PIE_CFLAGS@
+
+# Link with -no-pie since we
Hi
Can this work be commited to Gcc 6?
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=33cd3712cae4721121bc37aefd09fc5ed7cd146a
The work was posted to the patch liste even before Gcc 5 stage1 ended.
And diffrent versions of it have been posted to the list of nummer of times.
/Magnus G.
fredag 06 mars 2015 09.31.26 skrev H.J. Lu:
PING. I am enclosing the patch here for review.
Have you tested it on mips?
gcc pass -mno-shared if HAVE_AS_NO_SHARED is defened
in config/mips/gnu-user.h. -mshared don't get enable.
/Magnus G.
torsdag 15 januari 2015 13.26.43 skrev H.J. Lu:
On Thu, Jan 15, 2015 at 1:04 PM, Jeff Law l...@redhat.com wrote:
Stage3 is closing rapidly. I've drained my queue of patches I was
tracking
for gcc-5.However, note that I don't track everything. If it's a
patch
for a backend,
måndag 12 januari 2015 12.11.17 skrev H.J. Lu:
On Mon, Jan 12, 2015 at 12:03 PM, Jeff Law l...@redhat.com wrote:
On 01/12/15 12:59, H.J. Lu wrote:
I don't know if -pg will work PIE on any targets. For Linux/x86
the choices of crt1.o are
%{!shared:
söndag 11 januari 2015 03.37.14 skrev H.J. Lu:
On Sun, Jan 11, 2015 at 1:05 AM, Daniel Micay danielmi...@gmail.com wrote:
On 11/01/15 03:52 AM, Daniel Micay wrote:
This branch works well for me. It doesn't automatically turn off the
linker flag when -fno-PIE or -fno-PIC are passed like
söndag 11 januari 2015 14.29.56 skrev Magnus Granberg:
söndag 11 januari 2015 03.37.14 skrev H.J. Lu:
On Sun, Jan 11, 2015 at 1:05 AM, Daniel Micay danielmi...@gmail.com
wrote:
On 11/01/15 03:52 AM, Daniel Micay wrote:
This branch works well for me. It doesn't automatically turn off
söndag 11 januari 2015 09.47.09 skrev H.J. Lu:
On Sun, Jan 11, 2015 at 9:40 AM, H.J. Lu hjl.to...@gmail.com wrote:
On Sun, Jan 11, 2015 at 6:04 AM, Magnus Granberg zo...@gentoo.org wrote:
söndag 11 januari 2015 14.29.56 skrev Magnus Granberg:
söndag 11 januari 2015 03.37.14 skrev H.J. Lu
fredag 09 januari 2015 13.00.14 skrev Daniel Micay:
On 09/01/15 12:49 PM, Joseph Myers wrote:
On Fri, 9 Jan 2015, Daniel Micay wrote:
--with-specs=%{pie|fpic|fPIC|fpie|fPIE|fno-pic|fno-PIC|fno-pie|fno-PIE|
shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE -pie}
at configure
fredag 14 november 2014 23.31.48 skrev Magnus Granberg:
måndag 10 november 2014 21.26.39 skrev Magnus Granberg:
Rainer
Thanks Rainer for the nits and comments.
Have updated the patches and Changelogs.
But i still use PIE_DRIVER_SELF_SPECS, do you have a ide where move it so
i
måndag 10 november 2014 21.26.39 skrev Magnus Granberg:
Rainer
Thanks Rainer for the nits and comments.
Have updated the patches and Changelogs.
But i still use PIE_DRIVER_SELF_SPECS, do you have a ide where move it so
i don't need to duplicate that stuff or how to do it?
Magnus
fredag 01 augusti 2014 10.52.27 skrev Rainer Orth:
Hi Magnus,
a couple of comments, mostly nits.
2014-07-31 Magnus Granberg zo...@gentoo.org
/gcc
* config/gnu-user.h: Define PIE_DRIVER_SELF_SPECS for PIE
as default and GNU_DRIVER_SELF_SPECS.
* config/i386/gnu
/gnu distributions compile binary with PIE with this you
could allmost compile all binary with PIE as we do on Gentoo Hardened.
This patches have bin posted before on the list.
https://gcc.gnu.org/ml/gcc-patches/2013-11/msg01515.html
/Magnus Granberg
Changlog
2014-07-31 Magnus Granberg zo
söndag 17 november 2013 22.37.08 skrev Magnus Granberg:
lördag 16 november 2013 20.37.58 skrev Ryan Hill:
On Wed, 13 Nov 2013 23:28:45 +0100
Magnus Granberg zo...@gentoo.org wrote:
Hi
This patchset will add a new configure options --enable-default-pie.
With the new option enable
lördag 16 november 2013 20.37.58 skrev Ryan Hill:
On Wed, 13 Nov 2013 23:28:45 +0100
Magnus Granberg zo...@gentoo.org wrote:
Hi
This patchset will add a new configure options --enable-default-pie.
With the new option enable will make it pass -fPIE and -pie from the gcc
and g
the
compiler or the crt stuff with -fPIE it will brake the PCH and the crtbegin and
crtend files. The disabling is done in the Makefiles. The needed spec is added
to DRIVER_SELF_SPECS. We disable all the profiling test for the linking will
fail.Tested on x86_64 linux (Gentoo).
/Magnus Granberg
This patch readd TARGET_H that was removed with revision 188166
IPA_PROP_H is in use by PLUGIN_HEADERS and did depend on GIMPLE_H that
did have TARGET_H before it was removed and it was not added to IPA_PROP_H or
PLUGIN_HEADERS. See the bug for more info.
/Magnus
gcc:
2013-03-30 Magnus
the freeze, but reviewed shortly after the freeze, may
still go in, further changes should be just bugfixes and documentation
fixes.
I want to get the new configure --enable-espf options included.
The patches have been posted some time ago.
Gentoo Hardened Project
Magnus Granberg
tisdag 18 september 2012 16.12.15 skrev Magnus Granberg:
tisdag 11 september 2012 01.33.42 skrev Magnus Granberg:
fredag 07 september 2012 18.52.11 skrev du:
On Fri, 7 Sep 2012, Magnus Granberg wrote:
* Makefile.in Add
-fno-stack-protector
tisdag 11 september 2012 01.33.42 skrev Magnus Granberg:
fredag 07 september 2012 18.52.11 skrev du:
On Fri, 7 Sep 2012, Magnus Granberg wrote:
* Makefile.in Add
-fno-stack-protector when
needed for espf.
Toplevel
fredag 07 september 2012 18.52.11 skrev du:
On Fri, 7 Sep 2012, Magnus Granberg wrote:
* Makefile.in Add
-fno-stack-protector when
needed for espf.
Toplevel Makefile.in is a generated file. You need to patch
fredag 07 september 2012 18.43.59 skrev du:
On Fri, 7 Sep 2012, Magnus Granberg wrote:
--- a/gcc/config/linux.h2011-07-07 17:38:34.0 +0200
+++ b/gcc/config/linux.h2012-07-09 14:24:08.599281404 +0200
I see nothing related specifically to Linux rather than other targets
fredag 07 september 2012 18.41.29 skrev Joseph S. Myers:
On Fri, 7 Sep 2012, Magnus Granberg wrote:
+NOTE: With configure --enable-espf=@r{[}all@r{|}ssp@r{|}pie@r{]}is
@emph{Note:} (existing style). @option{--enable-espf}.
+this option enabled by default for C, C++, ObjC, ObjC
Patch: Wformat.patch
Enable -Wformat and -Wformat_security
Gentoo Hardened Project
Magnus Granberg
--- a/gcc/c-family/c-common.c 2012-02-13 21:12:54.0 +0100
+++ b/gcc/c-family/c-common.c 2012-07-28 00:04:05.351725091 +0200
@@ -202,7 +202,11 @@ int warn_unknown_pragmas; /* Tri state v
Patch testsuite-espf-pr39537.patch
Is a update of the patch posten on the 39537 bug
We fix some of the format strings and casts.
Gentoo Hardened Project
Magnus Granberg
--- a/gcc/testsuite/g++.dg/ext/align1.C 2002-02-06 17:18:33.0 +0100
+++ b/gcc/testsuite/g++.dg/ext/align1.C 2012-08-11
Patch: gcc_doc.patch
Add notes to the command line options and info about the new configure option.
Gentoo Hardened Project
Magnus Granberg
--- a/gcc/doc/invoke.texi 2012-03-01 10:57:59.0 +0100
+++ b/gcc/doc/invoke.texi 2012-07-30 00:57:03.766847851 +0200
@@ -3216,6 +3216,10 @@ aspects
-stack-proctor if check_effective_target_espf.
Gentoo Hardened Project
Magnus Granberg--- a/gcc/testsuite/gcc.dg/charset/builtin2.c
+++ b/gcc/testsuite/gcc.dg/charset/builtin2.c
@@ -4,6 +4,7 @@
/* { dg-do compile } */
/* { dg-require-iconv IBM1047 } */
/* { dg-options -O2 -fexec-charset=IBM1047
Patch: config.in.patch
Add ENABLE_ESPF*
Patch: gcc.c.patch
Add espf_cpp_unique_options to *cpp_unique_options
Gentoo Hardened Project
Magnus Granberg
--- a/gcc/config.in 2011-04-24 00:36:52.0 +0200
+++ b/gcc/config.in 2011-06-24 14:17:05.166236726 +0200
@@ -77,6 +77,29 @@
#endif
Patch: config_all.patch
This patch define ESPF_GCC_PIE_SPEC, ESPF_GCC_SSP_SPEC,
ESPF_CPP_UNIQUE_OPTIONS_SPEC and ESPF_EXTRA_SPECS
can be used on most linux targets.
Patch_i386.patch
Define DRIVER_SELF_SPECS and add ESPF_EXTRA_SPECS to
SUBTARGET_EXTRA_SPECS
Gentoo Hardened Project
Magnus Granberg
target when tested.
Patch: configure.ac.patch
Add the new confiure options and add some new checks.
Patch: Makefile.in.patch
Will add -fno-stack-protector, -fno-PIE to needed flags and pass enable-espf to
the testsuite.
Gentoo Hardened project
Magnus Granberg
Changelog
2012-08-24 Magnus
tisdag 20 december 2011 22.56.45 skrev du:
On Tue, 20 Dec 2011, Magnus Granberg wrote:
This patch make -D and -U work in the spec language, bug pr48524.
Tested on x86_64-unknown-linux-gnu snapshot 4.7-20111217
Thanks for your contributions. As you've contributed before, this patch
brings
Hi
This patch make -D and -U work in the spec language, bug pr48524.
Tested on x86_64-unknown-linux-gnu snapshot 4.7-20111217
Magnus.
2011-12-18 Magnus Granberg zo...@gentoo.org
pr48524
* gcc/gcc.c (switch_matches) Support switches
42 matches
Mail list logo