diff options
author | Alan Modra <amodra@gmail.com> | 2017-07-03 21:59:30 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-07-03 22:03:48 +0930 |
commit | ce9116fdbfba8926a7bc25613d39bc3b2ed942fc (patch) | |
tree | 78a13ca90ae15c14c35ee77807cde3ba98363f8d /bfd/ChangeLog | |
parent | cd9af601e60240bb38dc58ce7e69abd5f2972ec7 (diff) | |
download | gdb-ce9116fdbfba8926a7bc25613d39bc3b2ed942fc.zip gdb-ce9116fdbfba8926a7bc25613d39bc3b2ed942fc.tar.gz gdb-ce9116fdbfba8926a7bc25613d39bc3b2ed942fc.tar.bz2 |
BFD long long cleanup
long long isn't supposed to be used without a configure test, to
support ancient compilers. Probably not terribly important nowadays.
* bfd.c (bfd_scan_vma): Don't use long long unless HAVE_LONG_LONG.
* coff-rs6000.c (FMT20): Handle hosts with 64-bit long and
Microsoft C library variant of long long format specifier.
(PRINT20): Cast value to bfd_uint64_t not long long.
* coffcode.h (coff_print_aux): Use BFD_VMA_FMT.
* coff-x86_64.c (coff_amd64_reloc): Use bfd_uint64_t rather than
long long. Don't cast to bfd_vma.
* elf32-score.c (score3_bfd_getl48): Likewise.
* vms-alpha.c (_bfd_vms_slurp_eisd): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b1e5e65..74cb0c9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,17 @@ 2017-07-03 Alan Modra <amodra@gmail.com> + * bfd.c (bfd_scan_vma): Don't use long long unless HAVE_LONG_LONG. + * coff-rs6000.c (FMT20): Handle hosts with 64-bit long and + Microsoft C library variant of long long format specifier. + (PRINT20): Cast value to bfd_uint64_t not long long. + * coffcode.h (coff_print_aux): Use BFD_VMA_FMT. + * coff-x86_64.c (coff_amd64_reloc): Use bfd_uint64_t rather than + long long. Don't cast to bfd_vma. + * elf32-score.c (score3_bfd_getl48): Likewise. + * vms-alpha.c (_bfd_vms_slurp_eisd): Likewise. + +2017-07-03 Alan Modra <amodra@gmail.com> + * elf.c (_bfd_elf_print_private_bfd_data): Use BFD_VMA_FMT to print d_tag. (bfd_elf_print_symbol): Don't cast symbol->flags. |