Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a065f15c8bb17b6717633ef513e4c2f12f152499 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Tue, 17 Feb 2015 20:25:55 +0100
Subject: [PATCH 01/39] Changes for AmigaOS version of gcc.
Subject: [PATCH 01/40] Changes for AmigaOS version of gcc.

---
fixincludes/configure | 1 +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5901f8aec0e2f6a0f826903cd483cc1b10f63aeb Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 14 Nov 2014 20:03:56 +0100
Subject: [PATCH 02/39] Added new function attribute "lineartags" and pragma
Subject: [PATCH 02/40] Added new function attribute "lineartags" and pragma
"amigaos tagtype".

Functions that have the lineartags attribute are assumed to be functions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 07718db105d776cff50b4cd8102132c88ea7c002 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Thu, 9 Jul 2015 06:54:37 +0200
Subject: [PATCH 03/39] Disable .machine directive generation.
Subject: [PATCH 03/40] Disable .machine directive generation.

It breaks manual args to the assembler with different flavor,
e.g., -Wa,-m440. This is probably not the right fix.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f7398a949dd5201e983c7d8188d497e548112123 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Wed, 2 Dec 2015 20:56:33 +0100
Subject: [PATCH 04/39] The default link mode is static for AmigaOS.
Subject: [PATCH 04/40] The default link mode is static for AmigaOS.

Changed the g++ driver to reflect this.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From e6ec2d752903863da6dcf190e18c73e346b6b253 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Wed, 2 Dec 2015 21:39:42 +0100
Subject: [PATCH 05/39] Disable the usage of /dev/urandom when compiling for
Subject: [PATCH 05/40] Disable the usage of /dev/urandom when compiling for
AmigaOS.

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a01c2a5ac436a00b931a0146cf802f69127c2884 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Sat, 5 Dec 2015 13:17:26 +0100
Subject: [PATCH 06/39] Expand arg zero on AmigaOS using the PROGDIR: assign.
Subject: [PATCH 06/40] Expand arg zero on AmigaOS using the PROGDIR: assign.

This should make sure that the proper relative paths are computed during
process_command().
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 6c249f64bd2d0ebf30f51531484ea1742962ee12 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Thu, 21 Jan 2016 20:46:59 +0100
Subject: [PATCH 07/39] Some AmigaOS 4.x compability changes for posix thread
Subject: [PATCH 07/40] Some AmigaOS 4.x compability changes for posix thread
support.

---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0008-Added-libstc-support-for-AmigaOS.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b5b5a3209f4fc3c59198b392b728576612a85f78 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 22 Jan 2016 20:04:50 +0100
Subject: [PATCH 08/39] Added libstc++ support for AmigaOS.
Subject: [PATCH 08/40] Added libstc++ support for AmigaOS.

---
.../os/{generic => amigaos}/ctype_base.h | 2 +-
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0009-Enable-libatomic-for-ppc-amigaos.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c9fb3357d886c3e9561e008b9087c9b75caef37d Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 3 Mar 2017 08:52:48 +0100
Subject: [PATCH 09/39] Enable libatomic for ppc-amigaos.
Subject: [PATCH 09/40] Enable libatomic for ppc-amigaos.

It is not really finished yet.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 33102a20e983d901be1859333d922cb32459d2b2 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Wed, 23 May 2018 10:54:19 +0200
Subject: [PATCH 10/39] Implement libat_lock_n() and libat_unlock_n().
Subject: [PATCH 10/40] Implement libat_lock_n() and libat_unlock_n().

---
libatomic/config/amigaos/lock.c | 58 ++++++++++++++++++++++++++-------
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0011-Pretend-C99-compatibility.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 60505eb8b49c04957f3e1122484b5e2297f19c8e Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Sat, 4 Mar 2017 07:39:21 +0100
Subject: [PATCH 11/39] Pretend C99 compatibility.
Subject: [PATCH 11/40] Pretend C99 compatibility.

At least newlib is not fully C99 compatible because it doesn't expose
various C99 function if __STRICT_ANSI__ is declared. Also it misses
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 75d527aeab41195aa6161eb90ab1c75fb39692ac Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Tue, 3 Apr 2018 19:52:01 +0200
Subject: [PATCH 12/39] Add amigaos-stdint.h for libatomic.
Subject: [PATCH 12/40] Add amigaos-stdint.h for libatomic.

---
gcc/config.gcc | 2 +-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f5d04240570843fd4419cd0d9ce6f9aa50609145 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Wed, 4 Apr 2018 22:48:33 +0200
Subject: [PATCH 13/39] Rerun make maint-deps in libiberty.
Subject: [PATCH 13/40] Rerun make maint-deps in libiberty.

---
libiberty/Makefile.in | 36 ++++++++++++++++++++++--------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 6a98220e936165ce6238e071fcfda1277ef80392 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Wed, 4 Apr 2018 23:50:48 +0200
Subject: [PATCH 14/39] Add custom implementation of various env-related
Subject: [PATCH 14/40] Add custom implementation of various env-related
functions.

No official clib does support unsetenv() but this is required by newer gcc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 8982a14a86f101333989f8b8959d031209e2401a Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Thu, 5 Apr 2018 19:56:45 +0200
Subject: [PATCH 15/39] Define va_startlinear and va_getlinearva.
Subject: [PATCH 15/40] Define va_startlinear and va_getlinearva.

These were usually defined in the clibs' stdarg.h. As we have now
changed the include path order, clibs' stdarg.h is never included.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From a5b8eb192677e48f84822bc15c20ba8975b5fad5 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Tue, 17 Apr 2018 22:02:09 +0200
Subject: [PATCH 16/39] Fix r2 restoring in the epilog of baserel-restoring
Subject: [PATCH 16/40] Fix r2 restoring in the epilog of baserel-restoring
functions.

---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From dd595e5c58180a1ad9e8572bf17dd5cfbfabf789 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Thu, 19 Apr 2018 21:00:30 +0200
Subject: [PATCH 17/39] Avoid section anchors in the baserel mode.
Subject: [PATCH 17/40] Avoid section anchors in the baserel mode.

---
gcc/config/rs6000/amigaos-protos.h | 1 +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c64cc31006520260c4a23cc23799442e28402415 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 20 Apr 2018 20:04:30 +0200
Subject: [PATCH 18/39] Respect -nostdinc also for SDK includes.
Subject: [PATCH 18/40] Respect -nostdinc also for SDK includes.

---
gcc/config/rs6000/amigaos.h | 4 +---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0019-Add-_Static_warning.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7e5ea9debe2babeb92ebd4e6d081599ea8441004 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Tue, 24 Apr 2018 22:46:21 +0200
Subject: [PATCH 19/39] Add _Static_warning().
Subject: [PATCH 19/40] Add _Static_warning().

This acts very similar to _Static_assert() but produces a warning
rather than an compiler error.
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0020-Rename-lineartags-to-checktags.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c0a70959ea598b7004bb62e22b42443e090788b4 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 27 Apr 2018 22:48:18 +0200
Subject: [PATCH 20/39] Rename lineartags to checktags.
Subject: [PATCH 20/40] Rename lineartags to checktags.

The name lineartags would imply linearvarargs but this is not implemented
or necessary.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 4257f6d9961b0a9e583bf71f8cabcceb92ca44d3 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Sat, 28 Apr 2018 08:09:58 +0200
Subject: [PATCH 21/39] Fix order of AmigaOS PPC sections in the documentation.
Subject: [PATCH 21/40] Fix order of AmigaOS PPC sections in the documentation.

---
gcc/doc/extend.texi | 4 ++--
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 4cb533514851a1840dea1ce9d8e20884b45f53e1 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Sun, 29 Apr 2018 00:08:22 +0200
Subject: [PATCH 22/39] Provide a documentation for checktags and tagtype
Subject: [PATCH 22/40] Provide a documentation for checktags and tagtype
attributes.

---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0023-Adapt-libssp-for-AmigaOS.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ab20508a3cdea818bb37195cea6d2e960b32e8d7 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Tue, 22 May 2018 23:14:01 +0200
Subject: [PATCH 23/39] Adapt libssp for AmigaOS.
Subject: [PATCH 23/40] Adapt libssp for AmigaOS.

---
libssp/ssp.c | 8 +++++---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0024-Add-amigaos-thread-model.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 1a726f2c22094261ab929462bc51bd250f82e3c4 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Fri, 4 May 2018 18:22:24 +0200
Subject: [PATCH 24/39] Add amigaos thread model.
Subject: [PATCH 24/40] Add amigaos thread model.

It is work in progress.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 32df36c00d3b7244a206c14d8318d67065a75e26 Mon Sep 17 00:00:00 2001
From: Sebastian Bauer <mail@sebastianbauer.info>
Date: Sat, 27 Oct 2018 08:06:21 +0200
Subject: [PATCH 25/39] Add aregparam attribute for functions for the m68k
Subject: [PATCH 25/40] Add aregparam attribute for functions for the m68k
backend.

These can be used to pass arguments to directly named registers.
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0026-gcc10-Don-t-use-poisoned-define.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 28c0ba8817d98c02e3eaeb4e1f9f0186ff221efe Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Sat, 2 Jan 2021 17:22:55 +0100
Subject: [PATCH 26/39] gcc10: Don't use poisoned define.
Subject: [PATCH 26/40] gcc10: Don't use poisoned define.

---
gcc/config/rs6000/amigaos.h | 3 ---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0027-gcc10-Remove-unused-variable.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From afab86a678caaa9ac9a9c3c3c20f403d751acebf Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Sat, 2 Jan 2021 17:25:51 +0100
Subject: [PATCH 27/39] gcc10: Remove unused variable.
Subject: [PATCH 27/40] gcc10: Remove unused variable.

---
gcc/c/c-parser.c | 3 ---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0028-gcc10-Remove-tagtype-attribute.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 20b1fd8b7d74b36d7da722bcef98356fea03ec1f Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Sat, 2 Jan 2021 22:05:59 +0100
Subject: [PATCH 28/39] gcc10: Remove tagtype attribute.
Subject: [PATCH 28/40] gcc10: Remove tagtype attribute.

The 'Add tagtype attribute that can be passed to enum' patch needs
to be adapted. Temporarily disable the patch since adaptation requires
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0029-gcc10-Define-CC1_SPEC.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 266f38251b6aa1c7fd3b8429d2d2b95d0c577f5c Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Sat, 2 Jan 2021 22:07:45 +0100
Subject: [PATCH 29/39] gcc10: Define CC1_SPEC.
Subject: [PATCH 29/40] gcc10: Define CC1_SPEC.

---
gcc/config/rs6000/amigaos.h | 13 +++++++++++++
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0fe8d761ed5446ed3c7ca431659958b2498ee613 Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Fri, 8 Jan 2021 01:02:33 +0100
Subject: [PATCH 30/39] gcc10: Link lto-dump with -athread=native.
Subject: [PATCH 30/40] gcc10: Link lto-dump with -athread=native.

---
gcc/config/rs6000/x-amigaos | 3 ++-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f55c00ae21292b68738143bbf275ef30e94b7efe Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Fri, 8 Jan 2021 14:03:50 +0100
Subject: [PATCH 31/39] gcc10: Expose max_align_t when using clib2.
Subject: [PATCH 31/40] gcc10: Expose max_align_t when using clib2.

---
libstdc++-v3/include/c_global/cstddef | 3 ---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0c74121b54a3b0c55ede757302dd13f6728d560d Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Sun, 7 Feb 2021 19:38:47 +0100
Subject: [PATCH 32/39] gcc10: Don't define __STRICT_ANSI__.
Subject: [PATCH 32/40] gcc10: Don't define __STRICT_ANSI__.

Doing so hides C99 features when configuring libstdc++.
---
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0033-gcc10-Fix-libstdc-v3-paths.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c3443778d66979c2734bb02baf24c14b979e7326 Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Mon, 15 Mar 2021 15:55:11 +0100
Subject: [PATCH 33/39] gcc10: Fix libstdc++v3 paths.
Subject: [PATCH 33/40] gcc10: Fix libstdc++v3 paths.

---
libstdc++-v3/src/c++17/fs_ops.cc | 17 ++++-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0b5fd31f94a96acd4b83b34be52e2915982494fc Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Fri, 28 May 2021 16:21:55 +0200
Subject: [PATCH 34/39] gcc11: Include stdint.h when sys/mman.h is missing.
Subject: [PATCH 34/40] gcc11: Include stdint.h when sys/mman.h is missing.

Since sys/mman.h indirectly includes stdint.h, we need to explicitly
include stdint.h when sys/mman.h is missing.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 57cdd99bfe45740a2021212005227a089eb5921c Mon Sep 17 00:00:00 2001
From: "ola.soder@axis.com" <ola.soder@axis.com>
Date: Fri, 28 May 2021 16:27:59 +0200
Subject: [PATCH 35/39] gcc11: Use include_next to circumvent fenv.h include
Subject: [PATCH 35/40] gcc11: Use include_next to circumvent fenv.h include
guard.

Include guards will prevent the correct fenv.h to be included
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c99b141102f736198f6c013f5e58946ccc6d3b95 Mon Sep 17 00:00:00 2001
From: rjd <3246251196ryan@gmail.com>
Date: Wed, 5 Oct 2022 11:36:32 +0100
Subject: [PATCH 36/39] gcc11: Fix to exception raised by Callable in call_once
Subject: [PATCH 36/40] gcc11: Fix to exception raised by Callable in call_once
implementation.

In the case the Callable raises an exception, the shared resources between
Expand Down
2 changes: 1 addition & 1 deletion gcc/11/patches/0037-gcc11-Add-builtin-_AMIGA-define.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 80cd06ee17ebac85775c82d8b884de7ead35f169 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ola=20S=C3=B6der?= <rolfkopman@gmail.com>
Date: Sun, 9 Apr 2023 22:34:16 +0200
Subject: [PATCH 37/39] gcc11: Add builtin _AMIGA define.
Subject: [PATCH 37/40] gcc11: Add builtin _AMIGA define.

Define _AMIGA like on AROS, MorphOS and OS3 (SAS/C).
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 874a7d09eb853fe6b5e959a0e60e28636b3f0269 Mon Sep 17 00:00:00 2001
From: rjd <3246251196ryan@gmail.com>
Date: Thu, 23 Nov 2023 22:12:35 +0000
Subject: [PATCH 38/39] Provide clib4 as an additional C runtime library.
Subject: [PATCH 38/40] Provide clib4 as an additional C runtime library.

As well as the existing newlib and clib2 as C runtime library choices,
clib4 is now introduced. Support for clib4 is currently restricted to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 77656b2f9fe825950b6c399466b0e80d7fa0c723 Mon Sep 17 00:00:00 2001
From: rjd <3246251196ryan@gmail.com>
Date: Tue, 14 May 2024 17:54:10 +0100
Subject: [PATCH 39/39] Allow option -pthread to link to libpthread
Subject: [PATCH 39/40] Allow option -pthread to link to libpthread

---
gcc/config/rs6000/amigaos.h | 2 +-
Expand Down
Loading