patch: mips16 and mips64 coexisting can't build setjmp.s

Aldy Hernandez aldyh@redhat.com
Thu Jul 12 10:19:00 GMT 2001


hi guys.

after this patch:

2001-03-08  Richard Sandiford  <rsandifo@redhat.com>

        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
        jmpbuf on MIPS64 targets.
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.

i can't build with -mips16 and -mips3 because -mips3 with -mips16 will
define:

	__mips16 and __mips64

consequently the ".set nomips16" is not emmitted.

here is a patch to fix the problem.  ok to install?

cheers

--
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


More information about the Newlib mailing list