# Functions that cannot be carved into their own delink object, by symbol name.
# tools/enroll.py skips these; their address ranges stay inside the module's gap
# object, so the ROM build still covers them - just not from a separate file.
# Lines starting with '#' are comments.

# --- main: the 0x0206d9dc / 0x0206da28 secondary-entry-point cluster ---
# func_0206ce90, func_0206cee0 and func_0206d868 arm_call 0x0206d9dc and 0x0206da28.
# Neither address has a symbol: they are secondary entry points 0x10 bytes inside
# func_0206d9cc and func_0206da18. dsd names such a target with a local label
# (.L_0206d9dc), and a local label cannot be referenced from outside the object that
# defines it:
#   "Imported symbol .L_0206d9dc ... is local, it cannot be used in relocation"
# So the callers and the targets must stay in one object. Excluding just the three
# callers is not enough - carving any function between them splits the span - so the
# whole run from the first caller to the last target stays in the gap.
# Giving 0x0206d9dc and 0x0206da28 real symbols in config/arm9/symbols.txt would
# recover all twelve.
func_0206ce90
func_0206cec0
func_0206cee0
func_0206cf7c
func_0206cf98
func_0206d32c
func_0206d868
func_0206d890
func_0206d8c4
func_0206d940
func_0206d9cc
func_0206da18

# --- rejected by mwldarm despite passing eligibility ---
# Rule 5 accepts a reference whose name is in config/**/symbols.txt. These name
# kind:data symbols no object in the link defines: resolvable in config, and
# still an undefined symbol at link time.
_ZN11ShadowModel10InitCuboidEv
_ZN11ShadowModel12InitCylinderEv

# --- linked cleanly but produced the wrong bytes (dsd check modules) ---
# Eligibility proves an object is the right shape to drop in, never that it is
# the right content. Mostly C++ destructors differing by a single byte, where a
# deleting/complete variant resolves differently in a real relink than it does
# when linkcheck verifies the match in isolation.
#
# _ZN15RecRoomCupboardD1Ev / D0Ev CAME OFF THIS LIST. They were here because the
# hand-written source wrote ((dActor_c *)c)->~dActor_c(), for which the compiler
# emits the D1 complete-object destructor where the ROM calls the D2 base-object
# one. include/RecRoomCupboard.h now derives the class properly and both files are
# an empty RecRoomCupboard::~RecRoomCupboard(); the compiler picks D2 itself and
# the ROM build carries both. Cast-and-call is the shape to look for in whatever
# is still listed here.
_ZN14BlendModelAnimD1Ev
CleanCommonModelDataArr
func_020313d8

# --- itcm: two unreferenced argument-swap entries that fall THROUGH into their successor ---
# 0x01ff8df8 (0x18) xor-swaps both double argument pairs and falls into func_01ff8e10
# (soft-double subtract); 0x01ffa588 (0xc) xor-swaps the single pair and falls into
# func_01ffa594. Neither has a caller anywhere: zero relocs, zero intra-ITCM branches. They
# are the library's "reverse operand" entries, correct only while they sit immediately before
# the routine they fall into. Carving them into their own delink objects would let the linker
# separate them from that successor and silently change behaviour, so they must stay inside
# the module's gap object.
#
# They carry `kind:label`, not `kind:function`, in config/arm9/itcm/symbols.txt. Declaring
# them as functions -- which an earlier revision of this branch did, purely to leave no
# unattributed gap -- fails the build outright: `dsd delink` analyses every function symbol
# and refuses an entry point that is not a prologue, exiting with
#     function func_01ff8df8 could not be analyzed: InvalidStart { ins: Eor }
# because the first instruction is `eor r1, r1, r3`. A label makes no such claim, so dsd
# leaves the bytes in the gap object -- which is exactly where this file wants them. Full
# address coverage is not worth a broken delink, and `.L_01ffadf8` (an alternate entry inside
# __aeabi_uidiv, further down the same file) already sets the precedent.
#
# No symbol names are listed below: a label can never be enrolled, so there is nothing for
# enroll.py to exclude. This block is here so the reasoning is not lost.
