* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
authorCary Coutant <ccoutant@google.com>
Sat, 15 Nov 2008 01:40:23 +0000 (01:40 +0000)
committerCary Coutant <ccoutant@google.com>
Sat, 15 Nov 2008 01:40:23 +0000 (01:40 +0000)
instead of -1U.

gold/ChangeLog
gold/reloc.cc

index 41c6162da6f16d76e8201d484c24539691cd4bc6..a83aeb36d0a88083e5f7c28ae90c4d53b25eb791 100644 (file)
@@ -1,3 +1,8 @@
+2008-11-14  Cary Coutant  <ccoutant@google.com>
+
+       * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
+       instead of -1U.
+
 2008-11-05  Craig Silverstein  <csilvers@google.com>
 
        * options.cc (General_options::parse_dynamic_list): New function.
index 481617df0b50f06f7bceca9df0e54fb616667d01..9a444a266d3e68e46dd3cf9c0fce84d053fa8f60 100644 (file)
@@ -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;
     }
 
This page took 0.042434 seconds and 4 git commands to generate.