This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [mips patch rfa] remove MIPS ld --embedded-relocs support.
cgd@broadcom.com writes:
> Given that, it should be very simple to change:
>
> TEMPLATE_NAME=mipsecoff
>
> to:
>
> TEMPLATE_NAME=generic
> EXTRA_EM_FILE=mipsecoff
>
> and then have mipsecoff.em be a file as below.
>
> Does that seem like a reasonable solution to you?
Yes, that looks fine to me.
I suspect that we could make gld${EMULATION_NAME}_before_parse in
generic.em look like the version in mipsecoff.em or elf32.em, but
checking that would be more work.
Ian