public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: dberger@SoftwareConstruction.com
To: gcc-gnats@gcc.gnu.org
Subject: other/4307: Can't set -fleading-underscore for some ELF builds
Date: Wed, 12 Sep 2001 10:46:00 -0000	[thread overview]
Message-ID: <20010912173857.30974.qmail@sourceware.cygnus.com> (raw)

>Number:         4307
>Category:       other
>Synopsis:       Can't set -fleading-underscore for some ELF builds
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 12 10:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     dberger@SoftwareConstruction.com
>Release:        gcc-2.95.3-5
>Organization:
>Environment:
Solaris and Windows 2000
>Description:
The file elfos.h in gcc/config defines the macro ASM_OUTPUT_LABELREF().  This should NOT be done.  If the definition in defaults.h is used, then the default will be to prefix "" to symbol names, which is the normal output, but it also allows for the -fleading-underscore flag to be set to override this behavior.  With the definition in elfos.h, that is impossible.
>How-To-Repeat:
Create an m68k compiler with the target as m68k-wrs-elf.  Then try to compile something with and without the -fleading-underscore flag.
>Fix:
Remove the definition of ASM_OUTPUT_LABELREF() from gcc/config/elfos.h
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-09-12 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-12 10:46 dberger [this message]
2002-12-10 16:45 bangerth
2003-03-12 18:54 neroden

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=20010912173857.30974.qmail@sourceware.cygnus.com \
    --to=dberger@softwareconstruction.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /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).