diff options
| author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2022-02-12 20:19:06 +0000 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2022-02-12 20:19:06 +0000 |
| commit | 990326fa74edb3aaccae68af8b9abff8a316b716 (patch) | |
| tree | 8243ac9059fececa199935f875f9ed0cf99df15a /library/panic_unwind/src | |
| parent | 5d8767cb229b097fedb1dd4bd9420d463c37774f (diff) | |
| download | rust-990326fa74edb3aaccae68af8b9abff8a316b716.tar.gz rust-990326fa74edb3aaccae68af8b9abff8a316b716.zip | |
library/panic_unwind: Define UNWIND_DATA_REG for m68k
Diffstat (limited to 'library/panic_unwind/src')
| -rw-r--r-- | library/panic_unwind/src/gcc.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/panic_unwind/src/gcc.rs b/library/panic_unwind/src/gcc.rs index 9d6ede73e3d..a0297b4b2f5 100644 --- a/library/panic_unwind/src/gcc.rs +++ b/library/panic_unwind/src/gcc.rs @@ -105,6 +105,9 @@ const UNWIND_DATA_REG: (i32, i32) = (0, 1); // RAX, RDX #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] const UNWIND_DATA_REG: (i32, i32) = (0, 1); // R0, R1 / X0, X1 +#[cfg(target_arch = "m68k")] +const UNWIND_DATA_REG: (i32, i32) = (0, 1); // D0, D1 + #[cfg(any(target_arch = "mips", target_arch = "mips64"))] const UNWIND_DATA_REG: (i32, i32) = (4, 5); // A0, A1 |
