Thread View: muc.lists.netbsd.port.m68k
1 messages
1 total messages
Started by Romain Dolbeau
Thu, 05 Nov 2026 17:45
Re: Some fixes for m68k users (incl/ for FPU emulation)
Author: Romain Dolbeau
Date: Thu, 05 Nov 2026 17:45
Date: Thu, 05 Nov 2026 17:45
61 lines
4803 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads