Skip to contentSkip to conversation

ECOFF

DISCUSSION Ralf Baechle 2 participants 4 messages Aug 19, 1999 – Aug 23, 1999 1 message not in the archive MIPS

lore
Share & tools
lore
#0 lore raw

Does anybody still rely on the linker support for ECOFF binaries? I'd like to drop the ECOFF emulations (mipsbig and mipslittle) from ld.

Ralf

#1 lore raw

In message <[email protected]> Ralf Baechle writes:
: Does anybody still rely on the linker support for ECOFF binaries? I'd : like to drop the ECOFF emulations (mipsbig and mipslittle) from ld.

Doesn't LILO for the little endian ARC machines require this?

Warner

#2 lore raw
Quoted 5 lines · Warner Losh

In message <[email protected]> Ralf Baechle writes:
: Does anybody still rely on the linker support for ECOFF binaries? I'd : like to drop the ECOFF emulations (mipsbig and mipslittle) from ld.

Doesn't LILO for the little endian ARC machines require this?

You mean Milo ... Milo needs to be ECOFF but our compiler produces ELF output. Furthermore since we need relocatable ECOFF binaries for the SNI firmware (actually the specs require it, but only on SNI we really need it) we have to link PIC code to ECOFF. And that is way too strong stuff for ld to cope with. That's why we're using elf2ecoff which is now included with every Linux kernel.

Ralf

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Tom Woelfel
Quoted 2 lines · Ralf Baechle

Does anybody still rely on the linker support for ECOFF binaries? I'd like to drop the ECOFF emulations (mipsbig and mipslittle) from ld.

I still have an Indy with the "very old boot prom" problem (it's 5.3 in your HOWTO ;-). I don't have an idea if this in any way related to this. But if so (and in case "old prom Indy's" will then not boot) it seems to me a good idea to put a hint or a workaround in the HOWTO.

No problem, that's why we have elf2ecoff as part of the kernel sources. Directly linking elf to ecoff is too strong stuff for ld anyway, at least for some of the ultra hairy case we have to handle.

Ralf