aboutsummaryrefslogtreecommitdiff
path: root/gas/obj.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-09-14 10:19:31 +0930
committerAlan Modra <amodra@gmail.com>2017-09-14 10:35:17 +0930
commit2578f2f307f7e80caa0bce32c7fa880d579e736b (patch)
tree4c3d552a24271680913057f9b487ecc3d81c3fd7 /gas/obj.h
parent0952b7101e85b205f93389216a7733caccb8f267 (diff)
downloadgdb-2578f2f307f7e80caa0bce32c7fa880d579e736b.zip
gdb-2578f2f307f7e80caa0bce32c7fa880d579e736b.tar.gz
gdb-2578f2f307f7e80caa0bce32c7fa880d579e736b.tar.bz2
PR22127, as segfaults assembling invalid .reloc
"sec" gets set to NULL on errors in the offset expression. This patch disables part of the reloc expression processing that needs "sec" valid. I didn't disable the entire reloc expression handling so that errors in the reloc expression are reported even when the offset expression has an error. PR 22127 * write.c (resolve_reloc_expr_symbols): Don't segfault when sec has been set to NULL.
Diffstat (limited to 'gas/obj.h')
0 files changed, 0 insertions, 0 deletions