Ricardo,
.need in GHS defines function that shouldn't be optimized out by the linker even if it is not called.
I'm not aware of any equivalent keyword in GCC assembler.
Anyway you could possibly use the linker command file keyword KEEP().
e.g. assuming the function goes myFunc() into default .text section:
KEEP(*(.text.myFunc))
Hope it helps.
Stan