From 8cb34baacf50f372dfae7e1dd9c683dfd9c30ed4 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Mon, 14 Apr 2025 16:34:10 +0200 Subject: [PATCH] moves to-/fromhost past the end of the RAM --- env/iss/link.lds | 4 ++-- libwrap/sys/_exit.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/env/iss/link.lds b/env/iss/link.lds index e4c71c9..272d8f5 100644 --- a/env/iss/link.lds +++ b/env/iss/link.lds @@ -178,7 +178,7 @@ SECTIONS PROVIDE( _sp = . ); } >ram AT>ram :ram - PROVIDE( tohost = 0xfffffff0 ); - PROVIDE( fromhost = 0xfffffff8 ); + PROVIDE( tohost = . ); + PROVIDE( fromhost = . + 8 ); } diff --git a/libwrap/sys/_exit.c b/libwrap/sys/_exit.c index 660485c..30c8293 100644 --- a/libwrap/sys/_exit.c +++ b/libwrap/sys/_exit.c @@ -3,6 +3,7 @@ #include "weak_under_alias.h" //#include #include +#include #if defined(SEMIHOSTING) #include "semihosting.h" #endif