From 0c13528fd9589eeed9b591c1089058a127268df1 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Wed, 19 Apr 2023 22:17:51 +0100 Subject: [PATCH] local-dwarf2-buildfix # DP: Description: Adding empty m68k framestate.c not to build for dwarf2. # DP: Related bugs: # DP: Dpatch author: GOTO Masanori # DP: Patch author: GOTO Masanori # DP: Upstream status: Debian-Specific # DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind. # DP: This patch adds empty framestate.c for m68k to avoid # DP: dwarf2 build failure. # DP: Date: 2003-07-19 (Update 2005-03-16 gotom) # DP: Description: Adding empty m68k framestate.c not to build for dwarf2. # DP: Related bugs: # DP: Dpatch author: GOTO Masanori # DP: Patch author: GOTO Masanori # DP: Upstream status: Debian-Specific # DP: Status Details: m68k uses sjlj exceptions, not dwarf2 unwind. # DP: This patch adds empty framestate.c for m68k to avoid # DP: dwarf2 build failure. # DP: Date: 2003-07-19 (Update 2005-03-16 gotom) 2005-03-16 GOTO Masanori * sysdeps/m68k/unwind-pe.c: Update to fix compilation failure. 2003-07-19 GOTO Masanori * sysdeps/m68k/framestate.c: Add to fix compilation failure with sjlj exception, suggested by Philip Blundell. Gbp-Pq: Topic m68k Gbp-Pq: Name local-dwarf2-buildfix.diff --- sysdeps/m68k/framestate.c | 2 ++ sysdeps/m68k/unwind-pe.c | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 sysdeps/m68k/framestate.c create mode 100644 sysdeps/m68k/unwind-pe.c diff --git a/sysdeps/m68k/framestate.c b/sysdeps/m68k/framestate.c new file mode 100644 index 000000000..139597f9c --- /dev/null +++ b/sysdeps/m68k/framestate.c @@ -0,0 +1,2 @@ + + diff --git a/sysdeps/m68k/unwind-pe.c b/sysdeps/m68k/unwind-pe.c new file mode 100644 index 000000000..068bdaca2 --- /dev/null +++ b/sysdeps/m68k/unwind-pe.c @@ -0,0 +1,6 @@ +#include +#include + +#define _LIBC_DEFINITIONS +#define NO_BASE_OF_ENCODED_VALUE +#include "unwind-pe.h" -- 2.30.2