aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-05-12 17:48:13 +0930
committerAlan Modra <amodra@gmail.com>2021-05-12 21:10:33 +0930
commitaf2ddf69ab85add3155cf55f65e6e9f3c9bcb29a (patch)
treeda4e33811d28a4f7cda938183b3d349780b10c8b /gas
parent0d872fca0293041a5cb7c54a4a04855323563d8e (diff)
downloadgdb-af2ddf69ab85add3155cf55f65e6e9f3c9bcb29a.zip
gdb-af2ddf69ab85add3155cf55f65e6e9f3c9bcb29a.tar.gz
gdb-af2ddf69ab85add3155cf55f65e6e9f3c9bcb29a.tar.bz2
SAFE_BYTE_GET64
Functions dealing with lack of a 64-bit integer type can disappear now that we require C99. Printing using dwarf_vmatoa is better too. binutils/ * dwarf.c (dwarf_vmatoa64, SAFE_BYTE_GET64, add64): Delete. (skip_attr_bytes): Replace use of SAFE_BYTE_GET64 with SAFE_BYTE_GET_AND_INC. (read_and_display_attr_value): Likewise. Print using dwarf_vmatoa. (process_debug_info, process_cu_tu_index): Likewise. * elfcomm.c (byte_put, byte_put_little_endian, byte_put_big_endian), (byte_get, byte_get_little_endian, byte_get_big_endian), (byte_get_signed): Make size param unsigned. Remove code dealing with 4-byte elf_vma. (byte_get_64): Delete. * elfcomm.h (byte_put, byte_put_little_endian, byte_put_big_endian), (byte_get, byte_get_little_endian, byte_get_big_endian), (byte_get_signed): Update prototypes. (byte_get_64): Delete. gas/ * testsuite/gas/elf/dwarf-5-file0.d: Update. * testsuite/gas/i386/dwarf5-line-1.d: Update.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/elf/dwarf-5-file0.d4
-rw-r--r--gas/testsuite/gas/i386/dwarf5-line-1.d2
3 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 459da06..329c288 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-12 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/elf/dwarf-5-file0.d: Update.
+ * testsuite/gas/i386/dwarf5-line-1.d: Update.
+
2021-05-11 Sergey Belyashov <sergey.belyashov@gmail.com>
PR 27823
diff --git a/gas/testsuite/gas/elf/dwarf-5-file0.d b/gas/testsuite/gas/elf/dwarf-5-file0.d
index 6cc96e3..973dc5b 100644
--- a/gas/testsuite/gas/elf/dwarf-5-file0.d
+++ b/gas/testsuite/gas/elf/dwarf-5-file0.d
@@ -11,8 +11,8 @@
The File Name Table \(offset 0x.*, lines 3, columns 3\):
Entry Dir MD5 Name
- 0 0 0x00000000000000000000000000000000 \(indirect line string, offset: 0x.*\): master source file
- 1 1 0x00000000000000000000000000000000 \(indirect line string, offset: 0x.*\): secondary source file
+ 0 0 0x0 \(indirect line string, offset: 0x.*\): master source file
+ 1 1 0x0 \(indirect line string, offset: 0x.*\): secondary source file
2 2 0x95828e8bc4f7404dbf7526fb7bd0f192 \(indirect line string, offset: 0x.*\): foo.c
#pass
diff --git a/gas/testsuite/gas/i386/dwarf5-line-1.d b/gas/testsuite/gas/i386/dwarf5-line-1.d
index 7d602d0..cc90b61 100644
--- a/gas/testsuite/gas/i386/dwarf5-line-1.d
+++ b/gas/testsuite/gas/i386/dwarf5-line-1.d
@@ -39,7 +39,7 @@ Raw dump of debug contents of section \.z?debug_line:
The File Name Table \(offset 0x.*, lines 2, columns 3\):
Entry Dir MD5 Name
0 0 0xbbd69fc03ce253b2dbaab2522dd519ae \(indirect line string, offset: 0x.*\): core.c
- 1 0 0x00000000000000000000000000000000 \(indirect line string, offset: 0x.*\): types.h
+ 1 0 0x0 \(indirect line string, offset: 0x.*\): types.h
Line Number Statements:
\[0x.*\] Extended opcode 2: set Address to 0x0