You can browse the below linker about the bootloader and bootloadable:
Can you attached a simple project which can reproduce your issue in this forum?
Today I will create a simple project to see if I get the same behavior, and report back. Thanks.
Got the bootloadable code to build successfully. The problem was that I first used the bootloader .hex and .elf files generated by someone else to create a bootloadable version of my code. So, when I built that bootloader on my IDE and used the resulting .hex and .elf files, the bootloadable code build worked. Thanks!