aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-04-08 13:47:18 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-04-11 11:40:07 -0700
commit548791769dc737f05cb12e5ee4190b7e853beac9 (patch)
tree53abccdc17323c66508457110bc7e3a639a77ddf /gdb/rust-lang.c
parent035801cebe9ffbdddb465b81ae514a465ce9c64c (diff)
downloadgdb-548791769dc737f05cb12e5ee4190b7e853beac9.zip
gdb-548791769dc737f05cb12e5ee4190b7e853beac9.tar.gz
gdb-548791769dc737f05cb12e5ee4190b7e853beac9.tar.bz2
xtensa: gas: put .literal_position at section start
Provide literal position at the beginning of each section for literal space reserved by relaxations when text-section-literals or auto-litpools options are used. Remove code that adds fill frag to the literal section for every .literal_position directive to avoid creation of empty literal sections. Fix auto-litpools tests that got literal pool address changes. gas/ 2019-04-11 Max Filippov <jcmvbkbc@gmail.com> * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration. (xtensa_mark_literal_pool_location): Don't add fill frag to literal section that records literal pool location. (md_begin): Call xtensa_mark_literal_pool_location when text section literals or auto litpools are used. (xtensa_elf_section_change_hook): Call xtensa_mark_literal_pool_location when text section literals or auto litpools are used, there's no literal pool location defined for the current section and it's not .init or .fini. * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses. * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise. * testsuite/gas/xtensa/auto-litpools.d: Likewise.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions