* target-reloc.h (Default_scan_relocatable_relocs): Only discard
authorIan Lance Taylor <ian@airs.com>
Fri, 12 Dec 2008 16:33:05 +0000 (16:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 12 Dec 2008 16:33:05 +0000 (16:33 +0000)
commit6894310219af8c9a811814973c3375716d2e3dde
treec1835c8f2e0a1dad7e4e9dc92c89ce42c37c9811
parentb0074644c422c28e8be29f9ba5336d80cd05a4b3
* target-reloc.h (Default_scan_relocatable_relocs): Only discard
r_type == 0 for a local symbol with r_sym == 0.
(scan_relocatable_relocs): Pass r_sym to
local_non_section_strategy.
* reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add
r_sym parameter.
gold/ChangeLog
gold/reloc.cc
gold/target-reloc.h