* copy-relocs.cc: New file.
authorIan Lance Taylor <ian@airs.com>
Wed, 16 Apr 2008 22:54:29 +0000 (22:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 16 Apr 2008 22:54:29 +0000 (22:54 +0000)
commit12c0daef5f792cf27f8d0897794bb32729dc370b
treea282dbfb5ea5b87e31cd1eb4e61bf04584bcd9f7
parent4f4995b6282c41516d0bd895832ced99d799a744
* copy-relocs.cc: New file.
* copy-relocs.h: New file.
* reloc.cc: Remove Copy_relocs code.
* reloc.h: Likewise.
* reloc-types.h (struct Reloc_types) [both versions]: Add
get_reloc_addend_noerror.
* output.h (class Output_data_reloc<elfcpp::SHT_REL>): Add
variants of add_global which take an addend which must be zero.
* i386.cc: Include "copy-relocs.h".
(class Target_i386): Change type of copy_relocs_ to variable,
update initializer.
(Target_i386::copy_reloc): Rewrite to pass to Copy_relocs class.
Change all callers.
(Target_i386::do_finalize_sections): Change handling of
copy_relocs_.
* sparc.cc: Include "copy-relocs.h".
(class Target_sparc): Change type of copy_relocs_ to variable,
update initializer.
(Target_sparc::copy_reloc): Rewrite to pass to Copy_relocs class.
Change all callers.
(Target_sparc::do_finalize_sections): Change handling of
copy_relocs_.
* x86_64.cc: Include "copy-relocs.h".
(class Target_x86_64): Change type of copy_relocs_ to variable,
update initializer.
(Target_x86_64::copy_reloc): Rewrite to pass to Copy_relocs
class.  Change all callers.
(Target_x86_64::do_finalize_sections): Change handling of
copy_relocs_.
* Makefile.am (CCFILES): Add copy-relocs.cc.
(HFILES): Add copy-relocs.h.
12 files changed:
gold/ChangeLog
gold/Makefile.am
gold/Makefile.in
gold/copy-relocs.cc [new file with mode: 0644]
gold/copy-relocs.h [new file with mode: 0644]
gold/i386.cc
gold/output.h
gold/reloc-types.h
gold/reloc.cc
gold/reloc.h
gold/sparc.cc
gold/x86_64.cc
This page took 0.026749 seconds and 4 git commands to generate.