public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: hjl@lucon.org (H.J. Lu)
To: ian@zembu.com (Ian Lance Taylor)
Cc: binutils@sourceware.cygnus.com
Subject: More BFD_ASSEMBLER bugs in symbols.c
Date: Thu, 01 Jul 1999 00:00:00 -0000	[thread overview]
Message-ID: <19990612155227.223D857B9@ocean.lucon.org> (raw)
In-Reply-To: <19990612040750.6825.qmail@daffy.airs.com>

> 
>    Date: Sat, 5 Jun 1999 02:55:15 -0700 (PDT)
>    From: hjl@varesearch.com (H.J. Lu)
> 
>    Also, the DWARF stuff in gas uses bfd_vma. But
>    it won't work if BFD_ASSEMBLER is not defined.
> 

There are many more BFD_ASSEMBLER bugs in symbols.c.

#define LOCAL_SYMBOL_CHECK(s) 0
#define local_symbol_convert(s) ((symbolS *) s)

is not enough if BFD_ASSEMBLER is not defined since

if (LOCAL_SYMBOL_CHECK(s))
  {
     Many BFD_ASSEMBLER specific stuffs are used here.
  }

I had to put

#ifded BFD_ASSEMBLER
#endif

around many 

if (LOCAL_SYMBOL_CHECK(s))

Just cross-compile it for an a.out system. I used
i386linux.

-- 
H.J. Lu (hjl@gnu.org)

  reply	other threads:[~1999-07-01  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-01  0:00 A ld testsuite patch H.J. Lu
1999-07-01  0:00 ` Catherine Moore
1999-07-01  0:00   ` H.J. Lu
1999-07-01  0:00     ` Ian Lance Taylor
1999-07-01  0:00       ` H.J. Lu [this message]
1999-07-01  0:00         ` More BFD_ASSEMBLER bugs in symbols.c Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990612155227.223D857B9@ocean.lucon.org \
    --to=hjl@lucon.org \
    --cc=binutils@sourceware.cygnus.com \
    --cc=ian@zembu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).