[Fwd: mips-pe target]

Kai Ruottu kai.ruottu@luukku.com
Tue Jun 3 07:29:00 GMT 2003


Daniel Jacobowitz wrote:

   > On Mon, Jun 02, 2003 at 10:49:02AM -0700, Eric Christopher wrote:
   >
   >>On Mon, 2003-06-02 at 09:58, Daniel Jacobowitz wrote:
   >>
   >>>On Fri, Apr 11, 2003 at 12:29:21AM -0700, Eric Christopher wrote:
   >>>
   >>>>On Wed, 2003-04-09 at 01:01, Alan Modra wrote:
   >>>>
   >>>>>Both of these targets fail with
   >>>>>tc-mips.o(.rodata+0x2a4): In function `md_begin':
   >>>>>.../gas/config/tc-mips.c:1258: undefined reference to
`ecoff_directive_extern'
   >>>>>
   >>>>>They also failed with 2.13.  The lack of bug reports (besides mine)
   >>>>>says to me that there are zero users for these targets.  Let's 
remove
   >>>>>the configury bits before 2.14 goes out the door.

    If bug reports (unofficial and on wrong maillist) are wished, the
attachment contains one coming from China...

    I tried the binutils-2.13.2.1 sources for 'mips-wince-pe' and met the
same bug and a short study told that wrapping this member in the MIPS
pseudo-op table could fix it:

------------- clip -----------------------------
static const pseudo_typeS mips_pseudo_table[] =
{
     /* MIPS specific pseudo-ops.  */

<snip>

      {"word", s_cons, 2},
#ifndef NO_ECOFF_DEBUGGING
     { "extern", ecoff_directive_extern, 0},
#endif
     { NULL, NULL, 0 },
};
------------- clip -----------------------------

    I couldn't easily produce a diff just now, so this was taken from
the fixed 'gas/config/tc-mips.c'. Surprisingly Wreckor didn't mention
the bug and the fix made for it...

   Of couse the 'mips-wince-pe', 'mips-mingw32' etc. possible targets
with the MIPS/PE format have very minimal or zero support in the GCC
sources, but this is a separate issue.

   >>Probably print an obsolete message and fail. If someone cares they'll
   >>mail the list.

    I really don't care but there can be others like Wreckor who do care
about the 'mips-pe' support and post to some list, not necessarily to
the right one...

Cheers, Kai



-------------- next part --------------
An embedded message was scrubbed...
From: "longchuan" <longchuan@koretide.com.cn>
Subject: mips-pe target
Date: Fri, 23 May 2003 11:16:55 +0800
Size: 3009
URL: <https://sourceware.org/pipermail/binutils/attachments/20030603/d57da40d/attachment.eml>


More information about the Binutils mailing list