Combine two existing mechanisms for copying symbol attributes, and fix a bug:
authorKen Raeburn <raeburn@cygnus>
Wed, 21 Sep 1994 22:21:25 +0000 (22:21 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 21 Sep 1994 22:21:25 +0000 (22:21 +0000)
commitef1988706623f7b739ec04a035dcd846f13da106
treef8816fcfbd82a1a26b140cd6923bef61702eba40
parentba466c4c9d804a31b9f9d28b2d9cd11a5ccb141f
Combine two existing mechanisms for copying symbol attributes, and fix a bug:

* symbols.c (copy_symbol_attributes): New function.  Copies BFD symbol flags
and calls OBJ_COPY_SYMBOL_ATTRIBUTES.
(resolve_symbol_value, case O_symbol): Call it, if X_add_number is zero.  Don't
call obj_frob_forward_symbol.
* read.c (pseudo_set): Call copy_symbol_attributes, but only if X_add_number is
zero.
* config/obj-elf.h (obj_frob_forward_symbol): Deleted.
gas/read.c