mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-27 10:23:55 +08:00
Fix compile time warning introduced by previous delta.
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address constants.
This commit is contained in:
parent
6f156d7a4a
commit
f13974bda3
@ -1,3 +1,8 @@
|
||||
2018-01-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address
|
||||
constants.
|
||||
|
||||
2018-01-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* objcopy.c (objcopy_internal_note): New structure.
|
||||
|
@ -2064,7 +2064,7 @@ merge_gnu_build_notes (bfd * abfd, asection * sec, bfd_size_type size, bfd_byte
|
||||
For now though, since v1 and v2 was not intended to
|
||||
handle gaps, we chose an artificially large end
|
||||
address. */
|
||||
end = 0x7ffffffffffffffUL;
|
||||
end = (bfd_vma) 0x7ffffffffffffffUL;
|
||||
break;
|
||||
|
||||
case 8:
|
||||
@ -2083,7 +2083,7 @@ merge_gnu_build_notes (bfd * abfd, asection * sec, bfd_size_type size, bfd_byte
|
||||
For now though, since v1 and v2 was not intended to
|
||||
handle gaps, we chose an artificially large end
|
||||
address. */
|
||||
end = 0x7ffffffffffffffUL;
|
||||
end = (bfd_vma) 0x7ffffffffffffffUL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user