diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-05-17 06:46:15 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-05-26 10:14:17 +0300 |
commit | 4de0562a4c69fef4952aa7e19d7bda359f02e8b4 (patch) | |
tree | b93a12cbcb93a315df61a6a77323529eca5ce13c /gas/ChangeLog | |
parent | 8f2fd309e013e4e230df46d2dee03c5ca2228836 (diff) | |
download | fsf-binutils-gdb-4de0562a4c69fef4952aa7e19d7bda359f02e8b4.zip fsf-binutils-gdb-4de0562a4c69fef4952aa7e19d7bda359f02e8b4.tar.gz fsf-binutils-gdb-4de0562a4c69fef4952aa7e19d7bda359f02e8b4.tar.bz2 |
xtensa: fix gas segfault with --text-section-literals
When --text-section-literals is used and code in the .init or .fini
emits literal in the absence of .literal_position, xtensa_move_literals
segfaults.
Check that search_frag is non-NULL in the xtensa_move_literals and
report error otherwise.
2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
gas/
* config/tc-xtensa.c (xtensa_move_literals): Check that
search_frag is non-NULL. Report error if literal frag is not
found.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f3a30d2..a0ab897 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2015-05-26 Max Filippov <jcmvbkbc@gmail.com> + + * config/tc-xtensa.c (xtensa_move_literals): Check that + search_frag is non-NULL. Report error if literal frag is not + found. + 2015-05-22 Nick Clifton <nickc@redhat.com> PR gas/18446 |