I'm glad you're here, too. Nice break from the spam!
Generally, bin files are not linked !
Back in the day... when I did boot sectors, I had a floppy drive and wrote 'em to a floppy disk. You seem to have a different problem. You seem to know what you're doing... but bin files are not linked, Using ld is not strictly a Nasm question. "elf" files are, in my mind, something completely different. I don't see how you're using them. With the right linker script, you MIGHT be able to use them... maybe... More information on what you're doing MIGHT help us help you... maybe...
For starters, what are those ports you're doing "in" and "out" to? I'm feeling pretty clueless these days. so I probably can't help you much...
Good luck.
Best,
Frank