public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@zembu.com>
To: Nick Clifton <nickc@cambridge.redhat.com>
Cc: binutils@sources.redhat.com
Subject: Re: [PATCH] Do not allow .global on section symbols
Date: Tue, 05 Jun 2001 11:29:00 -0000	[thread overview]
Message-ID: <siu21uvkz9.fsf@daffy.airs.com> (raw)
In-Reply-To: <m31yozmfzx.fsf@north-pole.nickc.cambridge.redhat.com>

Nick Clifton <nickc@cambridge.redhat.com> writes:

>   I was not sure however, how to add this code as a test case.  I did
>   not want to add it to the assembler's testsuite, since it needs the
>   linker in order to demonstrate the fault, and I did not want to add
>   it to the linker's testsuite since it contains ELF and x86 specific
>   code.  Any suggestions for how to incorporate it as a test as most
>   welcome.

Now that you've added the warning, you can just test for the warning.
It seems to me that using the linker won't help anyhow, since you can
presumably no longer recreate the bug.  However, another option would
be to use objdump; presumably the difference in the symbol would be
displayed by objdump -t.

Ian

  reply	other threads:[~2001-06-05 11:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-05  1:29 Nick Clifton
2001-06-05 11:29 ` Ian Lance Taylor [this message]
2001-06-05 13:29   ` H . J . Lu

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=siu21uvkz9.fsf@daffy.airs.com \
    --to=ian@zembu.com \
    --cc=binutils@sources.redhat.com \
    --cc=nickc@cambridge.redhat.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).