aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorWaqar Hameed <whame91@gmail.com>2024-04-23 16:10:50 +0100
committerNick Clifton <nickc@redhat.com>2024-04-23 16:10:50 +0100
commit0de4ba02693b74d9171789a6a624d4b40050a30e (patch)
tree54fd3dba9100c841cf2d36b99e8ac4dd015b41f7 /binutils
parentff191ddf80a2bcb81e0ef0208a961f98e72fe719 (diff)
downloadbinutils-0de4ba02693b74d9171789a6a624d4b40050a30e.zip
binutils-0de4ba02693b74d9171789a6a624d4b40050a30e.tar.gz
binutils-0de4ba02693b74d9171789a6a624d4b40050a30e.tar.bz2
objdump: Round ASCII art lines in jump visualization
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 70581c9..5acaa54 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2949,10 +2949,10 @@ jump_info_visualize_address (bfd_vma address,
{
if (address <= ji->end)
line_buffer[offset] =
- (jump_info_min_address (ji) == address) ? '/': '+';
+ (jump_info_min_address (ji) == address) ? ',': '+';
else
line_buffer[offset] =
- (jump_info_max_address (ji) == address) ? '\\': '+';
+ (jump_info_max_address (ji) == address) ? '\'': '+';
color_buffer[offset] = color;
}
}
@@ -2983,9 +2983,9 @@ jump_info_visualize_address (bfd_vma address,
{
if (jump_info_min_address (ji) < address)
line_buffer[offset] =
- (jump_info_max_address (ji) > address) ? '>' : '\\';
+ (jump_info_max_address (ji) > address) ? '>' : '\'';
else
- line_buffer[offset] = '/';
+ line_buffer[offset] = ',';
color_buffer[offset] = color;
}
}