* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address

instead of -1U.
This commit is contained in:
Cary Coutant 2008-11-15 01:40:23 +00:00
parent 1e182d3ce4
commit a45248e086
2 changed files with 6 additions and 1 deletions

View 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.

View 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;
}