aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2008-11-15 01:40:23 +0000
committerCary Coutant <ccoutant@google.com>2008-11-15 01:40:23 +0000
commita45248e08687102273909f5d122c6d71e44be5d3 (patch)
tree137f3e741fd6db7d7a41442ee9095ef7814cfff2 /gold/reloc.cc
parentdaily update (diff)
downloadbinutils-gdb-a45248e08687102273909f5d122c6d71e44be5d3.tar.gz
binutils-gdb-a45248e08687102273909f5d122c6d71e44be5d3.tar.bz2
binutils-gdb-a45248e08687102273909f5d122c6d71e44be5d3.zip
* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
instead of -1U.
Diffstat (limited to 'gold/reloc.cc')
-rw-r--r--gold/reloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc
index 481617df0b5..9a444a266d3 100644
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -274,7 +274,7 @@ Sized_relobj<size, big_endian>::do_read_relocs(Read_relocs_data* rd)
sr.sh_type = sh_type;
sr.reloc_count = reloc_count;
sr.output_section = os;
- sr.needs_special_offset_handling = out_offsets[shndx] == -1U;
+ sr.needs_special_offset_handling = out_offsets[shndx] == invalid_address;
sr.is_data_section_allocated = is_section_allocated;
}