Add weak symbols as an extension to a.out.
authorIan Lance Taylor <ian@airs.com>
Sat, 11 Jun 1994 20:45:49 +0000 (20:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 11 Jun 1994 20:45:49 +0000 (20:45 +0000)
commit02d4e9238a798a687ec5ce46a87a7971708c6781
treefd411f2a8bc829e5203c9361c4c4b817a79577c8
parent4298e311fecf31dc42bda5e366600903631775fe
Add weak symbols as an extension to a.out.
* read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and
OBJ_BOUT if not BFD_ASSEMBLER.
* config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB):
Define as in ../include/aout/aout64.h.
* config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER,
define as char.
(S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER.
* config/obj-aout.c (obj_pseudo_table): Add "weak".
(obj_emit_symbols): Adjust type of weak symbols.
(obj_aout_weak): New static function.
gas/ChangeLog
gas/config/obj-aout.c
This page took 0.024544 seconds and 4 git commands to generate.