Subject: Re: egcs 1.1 on pmax
To: Tsubai Masanari <tsubai@iri.co.jp>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 08/19/1998 12:44:39
On Thu, 20 Aug 1998, Tsubai Masanari wrote:

: On newsmips (big-endian mips), it seems to work with the following patch.
: libgcc, libobjc, and libg2c are compiled successfully.

: + #undef OBJECT_FORMAT_COFF

This is now in the file already.

: + #define DWARF2_UNWIND_INFO 0

This, and the ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE... macro:  What assembler
are you using?

- DWARF2_UNWIND_INFO=0 is needed for the NetBSD a.out assembler because you
  can't inject an `.align' in the middle of two labels used in a difference
  constant.  Shouldn't be needed for ELF.
- The ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE macro seems to be trying to replace
  the normal ".set LABEL, LABEL2-LABEL1" with "LABEL=LABEL2-LABEL1".

gas 2.8.1 or higher should have no problem with these on any ELF platform.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)