aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-utils.c
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2019-07-02 13:09:02 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2019-07-02 13:09:02 +0000
commit4d83e8d97e3b15dcd7b5c58f4199e9f5bd6fca3d (patch)
treeea3ffc06faef177c6e90bc74851fcaf34023846a /gdb/cli/cli-utils.c
parentbb32413ff7247f5ac3685ca9075b3432bca69a82 (diff)
downloadgdb-4d83e8d97e3b15dcd7b5c58f4199e9f5bd6fca3d.zip
gdb-4d83e8d97e3b15dcd7b5c58f4199e9f5bd6fca3d.tar.gz
gdb-4d83e8d97e3b15dcd7b5c58f4199e9f5bd6fca3d.tar.bz2
PR ld/24709 [arm] linker crash and assertion failure with CMSE
As discussed in the PR, we do not support the case where CMSE stubs are inserted too far from their destination. This would require an intermediate long-branch stub, which is tricky in this context. Instead of crashing, this patch emit an error message and exits. 2019-07-02 Christophe Lyon <christophe.lyon@linaro.org> * bfd/elf32-arm.c (CMSE_STUB_NAME): New define. (elf32_arm_get_stub_entry): Do not try to emit long-branch stubs for CMSE stubs. (arm_dedicated_stub_output_section_name): Use CMSE_STUB_NAME. Change-Id: I6d4e1c0fdee6bb9f4b07e5e1b46700b5ba31c62e
Diffstat (limited to 'gdb/cli/cli-utils.c')
0 files changed, 0 insertions, 0 deletions