When attempting to link an object file produced by gcc, the linker hangs. This is annoying since no useful diagnostic is offered, i.e. when linking *.rel it is not obvious to the user that the problem is a foreign object file being present. AFAIR the linker that came with older sdcc versions just ignored the foreign file. I see this problem on sdcc 3.1.1 #7137 on Debian GNU/Linux unstable for x86-64.
To reproduce:
sdcc -mz80 huffman_encoder_tree.rel
will result in a hang without any output.
For the other ports the behaviour is either the same, or a hang with some output, such as "ASlink-Warning-No definition of area HOME".
Philipp
object file produced by gcc
Fixed in reversion #9235. Now sdld will return a fatal error with an illegal object file.