Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. LINUX.DEBIAN.PORTS.68K
  • Registers used for exception handling on Linux/m68k?

    From John Paul Adrian Glaubitz@21:1/5 to All on Tue Sep 29 17:30:03 2020
    Hello!

    I'm looking for an information regarding exception handling on Linux/m68k, in particular
    I need to know what registers are used by the ABI in order to implement the functions
    "getExceptionPointerRegister" and "getExceptionSelectorRegister" in the M680x0 backend
    in LLVM [1], [2].

    I looked into the GCC source code to find the corresponding parts but I could only find
    the macros prefixed with "EH_" [4] which I didn't fully understand.

    Can any of the experienced GCC/m68k folks tell me which registers in [5] I need to use?

    Adrian

    [1] https://github.com/M680x0/M680x0-mono-repo/issues/15
    [2] https://github.com/llvm/llvm-project/blob/master/llvm/lib/Target/Sparc/SparcISelLowering.h#L107
    [3] https://github.com/llvm/llvm-project/blob/ee34d9b210cb5a6d14fe069e2e2ae75b0548dba9/llvm/lib/Target/Sparc/SparcRegisterInfo.td#L151
    [4] https://github.com/gcc-mirror/gcc/blob/master/gcc/config/m68k/m68k.h#L741 [5] https://github.com/M680x0/M680x0-mono-repo/blob/master/llvm/lib/Target/M680x0/M680x0RegisterInfo.td

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - [email protected]
    `. `' Freie Universitaet Berlin - [email protected]
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Amstrad Ppc
      Sat Oct 31 15:21:38 2026
      from Wiltshire via Telnet
    • Amstrad Ppc
      Sat Oct 31 15:13:22 2026
      from Wiltshire via SSH
    • Amstrad Ppc
      Sat Oct 31 13:42:25 2026
      from Wiltshire via SSH
    • Root Cellar
      Sat Oct 31 12:26:17 2026
      from 505 via Telnet
    • Rixter
      Sat Oct 31 11:01:35 2026
      from Madison, Nc via Telnet
    • Jc1571
      Sat Oct 31 09:23:43 2026
      from Vancouver, Bc via Telnet
    • Beg5210
      Sat Oct 31 07:44:00 2026
      from Melbourne, Aus via Telnet
    • Beg5210
      Sat Oct 31 07:42:02 2026
      from Melbourne, Aus via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 796
    Nodes: 16 (3 / 13)
    Uptime: 145:57:54
    Calls: 13,187
    Calls today: 10
    Files: 15,483
    Messages: 6,579,194
    Posted today: 2

© >>> Magnum BBS <<<, 2026