diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-05-21 11:05:13 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-05-28 09:29:00 +1200 |
commit | abe4f4583ea7625b07508b03ceae6f6b905162c4 (patch) | |
tree | 349120dc3db5cbe30aa9308550c84e54493392a7 /packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch | |
parent | 4dd730b832f45fd12bba2c77c4ee7eb061e02e06 (diff) | |
download | crosstool-ng-abe4f4583ea7625b07508b03ceae6f6b905162c4.tar.gz crosstool-ng-abe4f4583ea7625b07508b03ceae6f6b905162c4.tar.bz2 crosstool-ng-abe4f4583ea7625b07508b03ceae6f6b905162c4.zip |
gcc/6.5.0: Regenerate patches
Run patches through ./maintainer/manage-packages.sh -P -s gcc-6.5.0 to
clean them up.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch')
-rw-r--r-- | packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch b/packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch index 6d3083f7..3cfe0df7 100644 --- a/packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch +++ b/packages/gcc/6.5.0/0033-darwin-align-pch_address_space-to-16k.patch @@ -12,21 +12,20 @@ gcc/ChangeLog: (cherry picked from commit 590febb5f6624f78b36402a7c9a9c318978f1efa) --- - gcc/config/host-darwin.c | 5 ++++- + gcc/config/host-darwin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c -index 49d3af77a9237..b9cf347f1e847 100644 --- a/gcc/config/host-darwin.c +++ b/gcc/config/host-darwin.c @@ -24,7 +24,10 @@ #include "config/host-darwin.h" - + /* Yes, this is really supposed to work. */ -static char pch_address_space[1024*1024*1024] __attribute__((aligned (4096))); +/* This allows for a pagesize of 16384, which we have on Darwin20, but should + continue to work OK for pagesize 4096 which we have on earlier versions. + The size is 1 (binary) Gb. */ +static char pch_address_space[65536*16384] __attribute__((aligned (16384))); - + /* Return the address of the PCH address space, if the PCH will fit in it. */ + |