F29H859TU-Q1: Help debugging linker error #10483-D in project code

Part Number: F29H859TU-Q1

I'm seeing error below during linking step in my code. 

[9]error #10483-D: unprotected calls from output section "safetyModuleD_codeAPR_Flash" to unprotected symbol "_DebugP_logZone" are not allowed: SECURE_GROUP mismatch; the call is in SECURE_GROUP "CPU1_STACK2_STACK" and the callee is in SECURE_GROUP "sbox_CommonCode_STACK_COMMONCODE"; The linker can not resolve this mismatch because "_DebugP_logZone" uses the stack for arguments and/or return values; relocation type "R_C29_PCREL32" in file "./sdl/sdl_cmpss_ctrip.o" at offset 0x000084 in section ".text.cmpss_test_cmpss_ctrip" with id (6) mapped to output section "safetyModuleD_codeAPR_Flash" represents an unprotected call to unprotected symbol "_DebugP_logZone" in file "./DebugP_freertos.o" in section ".text._DebugP_logZone" with id (4) mapped to output section "CPU1_CommonCodeModule_codeAPR_Flash"

Both secure groups in question are specified in the linker command file as "PUBLIC". My understanding is that the linker would add the necessary trampolines/landing pads to make this call secure. Why is this then an unprotected call error?

linker.cmd snippets:

    SAFETYMODULED_CODEAPR_FLASH         : origin = 0x10029000, length = 0x00003000
                                          SECURE_GROUP(CPU1_STACK2_STACK, PUBLIC,
                                          READS=(SAFETYMODULED_DATAAPR_RO,
                                          SHAREDMEM_PROTECTEDSTATEVARS_APR),
                                          WRITES=(SAFETYMODULED_DATAAPR_RW,
                                          SHAREDMEM_CONTROLVARS_APR,
                                          PERIPHAUTOREGION2,
                                          PERIPHAUTOREGION5,
                                          PERIPHAUTOREGION6,
                                          PERIPHAUTOREGION8,
                                          PERIPHAUTOREGION9,
                                          PERIPHAUTOREGION14,
                                          PERIPHAUTOREGION16,
                                          PERIPHAUTOREGION17,
                                          PERIPHAUTOREGION19,
                                          PERIPHAUTOREGION21,
                                          PERIPHAUTOREGION22,
                                          PERIPHAUTOREGION24,
                                          PERIPHAUTOREGION25,
                                          PERIPHAUTOREGION26,
                                          PERIPHAUTOREGION28))
 
    CPU1_COMMONCODEMODULE_CODEAPR_FLASH : origin = 0x10015000, length = 0x00012000
                                          SECURE_GROUP(sbox_CommonCode_STACK_COMMONCODE, PUBLIC,
                                          READS=(CPU1_COMMONCODEMODULE_DATAAPR_RO),
                                          WRITES=(CPU1_COMMONCODEMODULE_DATAAPR_RW))