public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: "Mark E." <snowball3@usa.net>
To: ian@cygnus.com
Cc: gas2@cygnus.com
Subject: coff weak symbol patches
Date: Tue, 06 Oct 1998 08:47:00 -0000	[thread overview]
Message-ID: <199810061547.PAA160418@out2.ibm.net> (raw)

Hi Ian,
Attached are the diffs for coff weak symbols. One problem area to 
note is weak undefined symbols probably don't work properly.

I've sent off the form you sent and the e-mail too.

Here's the changelog I came up with:

Include Changes:
* internal.h: Defined C_WEAKEXT.
* pe.h: Redefined C_WEAKEXT to C_NT_WEAK if 
COFF_WITH_PE defined.

BFD changes:
* obj-coff.c: Added obj_coff_weak to handle the ".weak" directive.
* coffcode.h
    (coff_slurp_symbol_table): Add case for C_WEAKEXT to handle 
weak symbols. Set BSF_WEAK for weak symbols.
* coffgen.c (coff_write_symbol): Make sure symbol has 
C_WEAKEXT storage class when BSF_WEAK is set.
    (coff_write_alien_symbol): Same
    (coff_print_symbol): Show if symbol is weak when printing all 
symbol information.
* cofflink.c
    (coff_link_check_ar_symbols): Include C_WEAKEXT type 
symbols in check.
    (coff_link_add_symbols): Same. Also make sure symbol 
remains weak when undefined.
    (_bfd_coff_link_input_bfd): Add C_WEAKEXT to skip test.

AS change:
* config/tc-i386.h: Added definition of LOCAL_LABEL for when 
TE_GO32 defined


-- 
Mark E. snowball3@usa.net
http://members.xoom.com/snowball3/

                 reply	other threads:[~1998-10-06  8:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199810061547.PAA160418@out2.ibm.net \
    --to=snowball3@usa.net \
    --cc=gas2@cygnus.com \
    --cc=ian@cygnus.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).