This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: [patch] Weak symbol support in SOM files.
- To: Catherine Moore <clm at cygnus dot com>
- Subject: Re: [patch] Weak symbol support in SOM files.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 25 Feb 2000 18:30:30 -0700
- cc: binutils at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <200002232034.MAA28209@cygint.cygnus.com>you write:
> I would like to submit the following patch which implements weak symbol
> support in SOM files. Please let me know if this is okay to commit.
>
> Catherine
>
> bfd/ChangeLog
> 2000-02-23 Catherine Moore <clm@cygnus.com>
>
> * som.c (som_misc_symbol_info): Add field
> secondary_def.
> (som_bfd_derive_misc_symbol_info): Initialize
> secondary_def.
> (som_build_and_write_symbol_table): Keep track
> of secondary_def field.
> (som_slurp_symbol_table): Set BSF_WEAK symbol flag
> if secondary_def field is set.
> (som_bfd_ar_write_symbol_stuff): Initialize
> secondary_def.
>
>
> gas/ChangeLog
>
> 2000-02-23 Catherine Moore <clm@cygnus.com>
>
> * config/obj-som.c (obj_pseudo_table): Add "weak".
> (obj_som_weak): New routine.
It looks fine to me. Thanks for addng this long standing missing feature.
BTW -- what was the resolution of the problem when you had a weak symbol
definition and a reference to the weak symbol in the same file?
jeff