public inbox for
 help / color / mirror / Atom feed
* coff weak symbol patches
@ 1998-10-06  8:47 Mark E.
  0 siblings, 0 replies; only message in thread
From: Mark E. @ 1998-10-06  8:47 UTC (permalink / raw)
  To: ian; +Cc: gas2

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-06  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-06  8:47 coff weak symbol patches Mark E.

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).