aboutsummaryrefslogtreecommitdiff
path: root/bfd/peXXigen.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-04-22 16:57:34 +0100
committerNick Clifton <nickc@redhat.com>2014-04-22 16:57:34 +0100
commitd5f59c10fc37e325d3fbad4ae7970c7cf0857b46 (patch)
tree1a3544ed55d2f56cf0a883d851b2a8b30c0a929b /bfd/peXXigen.c
parent73589c9dbddc7906fa6a150f2a2a0ff6b746e8ba (diff)
downloadgdb-d5f59c10fc37e325d3fbad4ae7970c7cf0857b46.zip
gdb-d5f59c10fc37e325d3fbad4ae7970c7cf0857b46.tar.gz
gdb-d5f59c10fc37e325d3fbad4ae7970c7cf0857b46.tar.bz2
Another fix for building on a 32-bit host.
PR ld/16821 * peXXigen.c (_bfd_XXi_swap_sym_out): Fix for 32-bit hosts.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r--bfd/peXXigen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index 56224a8..acd4278 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -236,7 +236,7 @@ _bfd_XXi_swap_sym_out (bfd * abfd, void * inp, void * extp)
reduce the absolute value to < 1^32, and then transforming the
symbol into a section relative symbol. This of course is a hack. */
if (sizeof (in->n_value) > 4
- && in->n_value > ((1L << 32) - 1)
+ && in->n_value > ((1ULL << 32) - 1)
&& in->n_scnum == -1)
{
asection * sec;