๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.port.m68k
Article #13

Re: Some fixes for m68k users (incl/ for FPU emulation)

#13
From: Romain Dolbeau
Date: Thu, 05 Nov 2026 17:45
61 lines
4803 bytes
Le lun. 2 nov. 2026 ร  19:48, Jason Thorpe <thorpej@me.com> a รฉcrit :
> Again, am I missing something?

I wish I could tell you... this particular fix is in litex68k ("my"
port) own 'locore.s' ; the LLM claims it also affects other ports... I
didn't double-check if it's correct. The 'locore.s' was largely based
on the one from virt68k.

The provenance issue is a catch-22, as you're wasting time looking for
a bug that might not exist elsewhere, which a glance at this
comparatively simple patch would probably tell you right away... sorry
about that.

Anyway I'll take a chance and copy/paste the primary comment from the
patch below, with no code (way below so people who don't want to look
at it for whatever reason don't have to) ; this comment sits above a
new macro used only three times in the file. That's all the patch does
beyond adding
-fno-omit-frame-pointer.

(empty space for spoiler avoidance, 1)

(empty space for spoiler avoidance, 2)

(empty space for spoiler avoidance, 3)

(empty space for spoiler avoidance, 4)

(I miss the spoiler character we used to use on Usenet, I don't think
it works in "modern" email...)

(empty space for spoiler avoidance, 5)

(empty space for spoiler avoidance, 6)

(empty space for spoiler avoidance, 7)

(empty space for spoiler avoidance, 8)

(beware the LLM-generated comment is right around the corner)

(empty space for spoiler avoidance, 9)

(empty space for spoiler avoidance, A)

+/*
+ * Push a frame that ends the %a6 chain on a new stack: its saved %a6 is
+ * itself and its return address 0.  A profiling kernel's __mcount reads
+ * its caller's frame, and %a6 is otherwise the bootloader's, unmapped
+ * once the bootstrap map is gone.
+ */

Cordially,

-- 
Romain Dolbeau

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <CADuzgboBfC872DwCePXYDDDS6cEyV3+UXyN6w3UQhjm7Zh2ZjQ@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <> <BED1BA9E-8E6C-4377-BF8E-9AFB7600A573@me.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Romain Dolbeau <romain@dolbeau.org>
Newsgroups: muc.lists.netbsd.port.m68k
Subject: Re: Some fixes for m68k users (incl/ for FPU emulation)
Date: Thu, 5 Nov 2026 18:45:35 +0100
Organization: Newsgate at muc.de e.V.
Sender: port-m68k-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <CADuzgboBfC872DwCePXYDDDS6cEyV3+UXyN6w3UQhjm7Zh2ZjQ@mail.gmail.com>
References: <> <BED1BA9E-8E6C-4377-BF8E-9AFB7600A573@me.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="12653"; mail-complaints-to="news-admin@muc.de"
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793900750; x=1794505550;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=Sfpi+J/DCMKY9dr3+PlpUi10Hu6/UWeWTw6ypIbekRY=;
        b=1tAR0KZnp8Ewf0jwZWWwaLtJYluUjFbcRl7k9kjRJynvg929JdogYUk1OZH4wZdRhB
         FqU3XVYBo4JjTSBEakvs8nXeVX+qkZgL+lCj0nVicHqYq15NSJR5ickekG/1P7ss6CaL
         vz0KAb3XLZkfbDdnUV4nbG7rcwHZimX3lLP+R+g1b9ppKUUYXLkSAmKHHS3471HEVRcJ
         i8JR96N1qGXjIdOR57jy96++n/PRm+Q1Ynahsluhn3TFRb8e9NPlQ2pa1YdyMkr3FJ7+
         purZXKmsG8u5QjF0wmo3clx82Ek6LPHy7fMrNMaJghhp2C1GWlLBIrydNc7fYg6OhGzn
         gluw==
X-Gm-Message-State: APuU4Z+YLyxG6ILc7icb54C6mCAK2gjcbYe6xogwU0taWk76GphbT0XI
	bIFV1pxQq2yZuv6uf9CqQuTE3Xr9qzGfCF8RcKUGkW6NUjbnZRdb0zRFs8faLei+mDJUmpBbrIl
	gS7nRobx5O/M9MFnApIZwjJQy7xVTVr3piV9i
X-Gm-Gg: AYBFou14YjQW8MDzZe761INYMjtt2eGH1onKuIzTq/opac7N0/FG+vpy5AQPHZmW4BX
	slnzciDNykoSvKgThKPZX0WgNUjqCTcOYa+en29vCQFcX1uaYMiYxQnC8fsaCbUy6g1GQPmyHa+
	ZG9N5jUZ3W10uxZ4jFsK9x1lXYvNC+YG3qE4fSQaF40xM8WcZGpog84M0dPe4s281y5p6TrdJ21
	NdOCYcyiN7CIheU+Uf1sMH67zk8/oRBo7OKwDmWy5lUA/gnb4JePEQcVBGEUuygL+iIa6OFJjfS
	Q1dXbiMQ/8/RUIpA6NgzbYT9wA2DeZX79ocp7zaAnxAFpkgTJdXjJvxrDzDCdxb1OudLtlQDZ8t
	8+K+F/mo1W06uOQ8SbW0+GvZI8uwKwDEsPauP4240IHQuv32NR7M5NYds/cUwFRkfrLS2hAIyXY
	DAbvfXEucemJ+u+vMHPrXRC7tpt6Vr40nAoAn1oWjEbDFDhboIw8NukiQmwKeAm4wOBDNvlq8F8
	Xw8mi99XS7NtkREJt+fr2gXyNP4NEFbNSKt8HOyKrCI1qgVbjbaC0xFQQ==
In-Reply-To: <BED1BA9E-8E6C-4377-BF8E-9AFB7600A573@me.com>
X-Gm-Features: AclHuK9yDC2lpEF6wqKbjLVWBtN8APotKLmhlZXhdnc2A2CTyl_1HLjlYV0tWSc
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes