Menu

#3627 Function goes in HOME instead of CODE for z80-related (depending on function name)

closed-rejected
None
other
5
2023-07-30
2023-07-30
No

While looking into [bugs:#3617], I noticed that some functions (in particular floating-point support functions including __fseq are in section HOME, not CODE.

Looking into it a bit more: if the first function in the source file has a name that starts with two underscores, it (but not subsequent such functions) goes into HOME instead of CODE.

Related

Bugs: #3617

Discussion

  • Philipp Klaus Krause

    • status: open --> closed-rejected
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Looking at this again, this is apparently intentional:

    If the function name is that of a support function, FUNC_NONBANKED is being set, and the function goes into HOME instead of CODE.

     

Log in to post a comment.