diff options
author | Alan Modra <amodra@gmail.com> | 2015-08-31 16:03:42 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-08-31 16:26:10 +0930 |
commit | d3435ae8ddeb3245b1358504f5382879f7fc04a7 (patch) | |
tree | 2f70a5fb41de5df08d46396f592ab781cdbd2a10 /bfd/vms-alpha.c | |
parent | 6cae483a9dc8d07c2743067d32026650b7eb37a9 (diff) | |
download | gdb-d3435ae8ddeb3245b1358504f5382879f7fc04a7.zip gdb-d3435ae8ddeb3245b1358504f5382879f7fc04a7.tar.gz gdb-d3435ae8ddeb3245b1358504f5382879f7fc04a7.tar.bz2 |
More "Make asection->id and asection->index unsigned"
Fixes regressions introduced by 7292b3ac.
* elflink.c (elf_sort_symbol): Use correctly sized type for
calculating signed section->id difference.
(elf_link_add_object_symbols): Likewise.
* pef.c (bfd_pef_scan_start_address): Warning fix.
* vms-alpha.c (vms_new_section_hook): Likewise.
Diffstat (limited to 'bfd/vms-alpha.c')
-rw-r--r-- | bfd/vms-alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index a0219d8..4b0b23f 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -9013,13 +9013,13 @@ vms_new_section_hook (bfd * abfd, asection *section) { bfd_size_type amt; - vms_debug2 ((1, "vms_new_section_hook (%p, [%d]%s)\n", + vms_debug2 ((1, "vms_new_section_hook (%p, [%u]%s)\n", abfd, section->index, section->name)); if (! bfd_set_section_alignment (abfd, section, 0)) return FALSE; - vms_debug2 ((7, "%d: %s\n", section->index, section->name)); + vms_debug2 ((7, "%u: %s\n", section->index, section->name)); amt = sizeof (struct vms_section_data_struct); section->used_by_bfd = bfd_zalloc (abfd, amt); |