aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-01-19 05:02:24 +0000
committerIan Lance Taylor <ian@airs.com>1994-01-19 05:02:24 +0000
commit13655af625eafc5397b50a7e108012a8d7898c30 (patch)
tree0580848764a3a3b041380a8b761d8c0c21df5fa2 /gas/config
parent3a5b50f4578a8431db1d65bf051e03ce09f9f445 (diff)
downloadgdb-13655af625eafc5397b50a7e108012a8d7898c30.zip
gdb-13655af625eafc5397b50a7e108012a8d7898c30.tar.gz
gdb-13655af625eafc5397b50a7e108012a8d7898c30.tar.bz2
Smuggle N_WARNING symbols into BFD in obj_aout_frob_symbol.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-aout.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/obj-aout.c b/gas/config/obj-aout.c
index ea50c9a..8baa1b2 100644
--- a/gas/config/obj-aout.c
+++ b/gas/config/obj-aout.c
@@ -115,6 +115,7 @@ obj_aout_frob_symbol (sym, punt)
sym->bsym->section = sec = &bfd_und_section;
if ((type & N_TYPE) != N_INDR
+ && type != N_WARNING
&& (sec == &bfd_abs_section
|| sec == &bfd_und_section))
return;
@@ -136,6 +137,10 @@ obj_aout_frob_symbol (sym, punt)
sym->bsym->section = &bfd_ind_section;
sym->bsym->flags |= BSF_INDIRECT;
break;
+ case N_WARNING:
+ /* Mark warning symbols. */
+ sym->bsym->flags |= BSF_WARNING;
+ break;
}
}
else