diff options
author | Gary Benson <gbenson@redhat.com> | 2020-09-30 10:51:58 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2020-09-30 10:51:58 +0100 |
commit | f65825ec7a29fb67d7b31e93ba7b057e6b87465e (patch) | |
tree | cbdeeecea736733ffb9d6dd7a2b07d7eaa39ea50 /ld/plugin.c | |
parent | 51dee44b37c4254e6b6a016b062c23b8e1f9ca33 (diff) | |
download | gdb-f65825ec7a29fb67d7b31e93ba7b057e6b87465e.zip gdb-f65825ec7a29fb67d7b31e93ba7b057e6b87465e.tar.gz gdb-f65825ec7a29fb67d7b31e93ba7b057e6b87465e.tar.bz2 |
Fix gdb.dwarf2/dw2-double-set-die-type.exp with Clang
gdb.dwarf2/dw2-double-set-die-type.exp failed to build with Clang,
because of the following issues:
- One .uleb128 directive was specified with an uppercase U,
causing Clang to fail with the message:
error: unknown directive
This commit converts that directive to all-lowercase.
- The label ".Labbrev1_begin" was referenced but not defined,
causing Clang to fail with the message:
<unknown>:0: error: Undefined temporary symbol
This commit adds the label in the appropriate place.
- The label ".Ldebug_line0" was referenced but not defined,
causing Clang to fail with the message:
<unknown>:0: error: Undefined temporary symbol
This commit removes the reference.
gdb/testsuite/ChangeLog:
* gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
Convert directive to lowercase.
(.Labbrev1_begin): Add missing label.
(abbrev code 0x1): Remove DW_AT_stmt_list.
(.Ldie_b): Likewise.
Diffstat (limited to 'ld/plugin.c')
0 files changed, 0 insertions, 0 deletions