aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-01-29 15:48:03 +1030
committerAlan Modra <amodra@gmail.com>2018-01-30 10:51:20 +1030
commitf49db8befafd5a716a83fec75c90145c58af7418 (patch)
treece1ed25579344bd420152d50c7403edd3219d045 /binutils/objcopy.c
parent016548df729bf84d155a90564c6a64beaa7fe690 (diff)
downloadgdb-f49db8befafd5a716a83fec75c90145c58af7418.zip
gdb-f49db8befafd5a716a83fec75c90145c58af7418.tar.gz
gdb-f49db8befafd5a716a83fec75c90145c58af7418.tar.bz2
32-bit objcopy build fail
* objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as "artificially large" end address.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 1e39f6d..8cdf27a 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -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 = (bfd_vma) 0x7ffffffffffffffUL;
+ end = (bfd_vma) -1;
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 = (bfd_vma) 0x7ffffffffffffffUL;
+ end = (bfd_vma) -1;
}
break;