aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2020-10-06 15:08:37 +0100
committerGary Benson <gbenson@redhat.com>2020-10-06 15:08:37 +0100
commit308975919152fbf301861d88e2da9b522e3cf112 (patch)
tree07dc6d7b19049a35febae66fe3e8caee3867b0d8 /binutils/objcopy.c
parentced4a4c1ccfa637940fc17dd3160727793d8b8f2 (diff)
downloadgdb-308975919152fbf301861d88e2da9b522e3cf112.zip
gdb-308975919152fbf301861d88e2da9b522e3cf112.tar.gz
gdb-308975919152fbf301861d88e2da9b522e3cf112.tar.bz2
Fix gdb.base/list.exp with Clang
Two subtests of gdb.base/list.exp failed when built with Clang because the unused function "unused" was optimized out. This commit adds __attribute__ ((used)) to both definitions. gdb/testsuite/ChangeLog: * gdb.base/list0.c (unused): Add __attribute__ ((used)). * gdb.base/list1.c (unused): Likewise.
Diffstat (limited to 'binutils/objcopy.c')
0 files changed, 0 insertions, 0 deletions