* powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.
authorAlan Modra <amodra@gmail.com>
Fri, 12 Oct 2012 09:44:11 +0000 (09:44 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Oct 2012 09:44:11 +0000 (09:44 +0000)
commitc6de8ed4563e23ce1d0ee2a10a6a1ff882fa90ee
tree16de62bb9a13355b8e119942a99a7d172c9177da
parent03e25981b675b8d2bab22acca695fd16b8736e34
* powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.
(struct Opd_ent): Make "discard" a bit field.  Add "gc_mark".
(Target_powerpc::do_gc_mark_symbol): Delay marking function code
section if scan_opd_relocs not yet called.
(Target_powerpc::gc_process_relocs): Call process_gc_mark.
gold/ChangeLog
gold/powerpc.cc