sh-coff broken

Alexandre Oliva aoliva@redhat.com
Thu Sep 14 13:03:00 GMT 2000


On Sep 14, 2000, Joern Rennecke <amylaar@cygnus.co.uk> wrote:

>> So, I propose that we simply revert to newlib's start-up routines on
>> sh-coff.  Ok to install?

> That makes sense to me - we want to get coff to work again ASAP, and
> when someone figures out how to do the init/fini right for sh-coff,
> (s)he can still change back whatever needs changing then.

> However, I suppose you want sh-elf to remain at the status quo.

That's what this patch does.  STARTFILE_SPEC and ENDFILE_SPEC are
redefined in elf.h.

> I see that INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP in elfos.h have
> a leading tab.  Should that be removed?

Nope, it's fine.  It was already working that way.  Note that I'm just
removing the #undef that was present to prevent warnings about
re#defines.

>> * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.

> Don't you have to provide them for elf in some way?

Yep.  See config/sh/t-elf.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


More information about the Gcc-patches mailing list