Cary Coutant
|
0a65a3a740
|
* i386.cc (Target_i386::Got_type): New enum declaration.
(Target_i386::Scan::local): Updated callers of Output_data_got
member functions.
(Target_i386::Scan::global): Likewise.
(Target_i386::Relocate::relocate): Likewise.
(Target_i386::Relocate::relocate_tls): Likewise.
* object.h (Got_offset_list): New class.
(Sized_relobj::local_has_got_offset): Added got_type parameter.
(Sized_relobj::local_got_offset): Likewise.
(Sized_relobj::set_local_got_offset): Likewise.
(Sized_relobj::local_has_tls_got_offset): Removed.
(Sized_relobj::local_tls_got_offset): Removed.
(Sized_relobj::set_local_tls_got_offset): Removed.
(Sized_relobj::Local_got_offsets): Changed to store a list of offsets.
* output.cc (Output_data_got::add_global): Added got_type parameter.
(Output_data_got::add_global_with_rel): Likewise.
(Output_data_got::add_global_with_rela): Likewise.
(Output_data_got::add_global_pair_with_rel): New function.
(Output_data_got::add_global_pair_with_rela): New function.
(Output_data_got::add_local): Added got_type parameter.
(Output_data_got::add_local_with_rel): Likewise.
(Output_data_got::add_local_with_rela): Likewise.
(Output_data_got::add_local_pair_with_rel): New function.
(Output_data_got::add_local_pair_with_rela): New function.
(Output_data_got::add_global_tls): Removed.
(Output_data_got::add_global_tls_with_rel): Removed.
(Output_data_got::add_global_tls_with_rela): Removed.
(Output_data_got::add_local_tls): Removed.
(Output_data_got::add_local_tls_with_rel): Removed.
(Output_data_got::add_local_tls_with_rela): Removed.
* output.h (Output_data_got::add_global): Added got_type parameter.
(Output_data_got::add_global_with_rel): Likewise.
(Output_data_got::add_global_with_rela): Likewise.
(Output_data_got::add_global_pair_with_rel): New function.
(Output_data_got::add_global_pair_with_rela): New function.
(Output_data_got::add_local): Added got_type parameter.
(Output_data_got::add_local_with_rel): Likewise.
(Output_data_got::add_local_with_rela): Likewise.
(Output_data_got::add_local_pair_with_rel): New function.
(Output_data_got::add_local_pair_with_rela): New function.
(Output_data_got::add_global_tls): Removed.
(Output_data_got::add_global_tls_with_rel): Removed.
(Output_data_got::add_global_tls_with_rela): Removed.
(Output_data_got::add_local_tls): Removed.
(Output_data_got::add_local_tls_with_rel): Removed.
(Output_data_got::add_local_tls_with_rela): Removed.
* resolve.cc (Symbol::override_base_with_special): Removed
reference to has_got_offset_ field.
* symtab.cc (Symbol::init_fields): Replaced initialization
of got_offset_ with got_offsets_. Removed initialization
of has_got_offset_
*symtab.h (Symbol::has_got_offset): Aded got_type parameter.
(Symbol::got_offset): Likewise.
(Symbol::set_got_offset): Likewise.
(Symbol::has_tls_got_offset): Removed.
(Symbol::tls_got_offset): Removed.
(Symbol::set_tls_got_offset): Removed.
(Symbol::got_offset_): Removed.
(Symbol::tls_mod_got_offset_): Removed.
(Symbol::tls_pair_got_offset_): Removed.
(Symbol::got_offsets_): New field.
(Symbol::has_got_offset): Removed.
(Symbol::has_tls_mod_got_offset): Removed.
(Symbol::has_tls_pair_got_offset): Removed.
* x86_64.cc (Target_x86_64::Got_type): New enum declaration.
(Target_x86_64::Scan::local): Updated callers of Output_data_got
member functions.
(Target_x86_64::Scan::global): Likewise.
(Target_x86_64::Relocate::relocate): Likewise.
(Target_x86_64::Relocate::relocate_tls): Likewise.
|
2008-03-25 18:37:16 +00:00 |
Ian Lance Taylor
|
7d1a9ebbf2
|
Remove gcc 3.2 compatibility hacks.
|
2008-02-29 19:19:17 +00:00 |
Ian Lance Taylor
|
878405a889
|
Don't warn about redefinitions from a --just-symbols object.
|
2008-02-28 22:39:29 +00:00 |
Ian Lance Taylor
|
8851eccaec
|
From Craig Silverstein: Have Parameters point to General_options.
|
2008-02-28 00:18:24 +00:00 |
Ian Lance Taylor
|
55a934330a
|
Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.
|
2008-01-24 00:15:00 +00:00 |
Ian Lance Taylor
|
e5756efb6d
|
Support assignments and expressions in linker scripts.
|
2008-01-09 19:57:45 +00:00 |
Ian Lance Taylor
|
a2b1aa12f7
|
From Craig Silverstein: Add support for --demangle.
|
2007-11-15 01:12:55 +00:00 |
Ian Lance Taylor
|
a55ce7febf
|
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.
|
2007-11-14 01:03:01 +00:00 |
Ian Lance Taylor
|
70e654ba48
|
From Craig Silverstein: First cut at detecting ODR violations.
|
2007-11-13 20:02:32 +00:00 |
Ian Lance Taylor
|
46fe162319
|
Fix versions of copied symbols.
|
2007-10-22 23:08:22 +00:00 |
Ian Lance Taylor
|
aeddab66fe
|
Keep track of weak aliases, so that overriding environ works.
|
2007-10-14 15:35:27 +00:00 |
Ian Lance Taylor
|
d20222a1e7
|
Better multiple definition errors.
|
2007-10-14 07:10:20 +00:00 |
Ian Lance Taylor
|
ac2d295e92
|
Remove extraneous newline.
|
2007-10-14 06:54:56 +00:00 |
Ian Lance Taylor
|
75f2446ec3
|
Run all error handling through an Errors object. Delete output file
on error.
|
2007-10-14 06:49:14 +00:00 |
Ian Lance Taylor
|
27b7985a73
|
From Craig Silverstein: add some internationalization calls.
|
2007-10-14 04:06:18 +00:00 |
Ian Lance Taylor
|
6cb15b7f89
|
Add licensing text to every source file.
|
2007-09-22 21:02:10 +00:00 |
Ian Lance Taylor
|
86f2e68346
|
Let special symbols override existing symbols rather than
reinitializing them.
|
2007-09-19 06:02:29 +00:00 |
Ian Lance Taylor
|
193a53d920
|
Add support for --enable-target to control which template
specializations we generate.
|
2007-09-04 20:00:53 +00:00 |
Ian Lance Taylor
|
429c15693c
|
Any symbol which is in both a regular object and a dynamic object
requires an entry in the dynamic symbol table.
|
2007-08-29 05:48:24 +00:00 |
Ian Lance Taylor
|
0d4f1889b5
|
Set in_dyn_ and in_reg_ when overriding a symbol.
|
2007-08-28 04:12:19 +00:00 |
Ian Lance Taylor
|
008db82ec1
|
Don't emit symbols seen only in dynamic object, don't read duplicate
dynamic object.
|
2006-12-06 06:28:56 +00:00 |
Ian Lance Taylor
|
14b3174058
|
Generate version information.
|
2006-12-06 00:02:36 +00:00 |
Ian Lance Taylor
|
16649710df
|
Can now dynamically link hello, world.
|
2006-12-01 16:51:25 +00:00 |
Ian Lance Taylor
|
a3ad94edd4
|
Hash tables, dynamic section, i386 PLT, gold_assert.
|
2006-11-29 17:56:40 +00:00 |
Ian Lance Taylor
|
c06b7b0ba3
|
Snapshot. Includes first cut at output relocation sections.
|
2006-11-16 00:38:25 +00:00 |
Ian Lance Taylor
|
593f47df45
|
gcc 3.2.2 portability hacks.
|
2006-11-03 18:38:43 +00:00 |
Ian Lance Taylor
|
ead1e4244a
|
Can now do a full static link of hello, world in C or C++
|
2006-11-03 18:26:11 +00:00 |
Ian Lance Taylor
|
12e14209f0
|
Lay out object file sections when we add the symbols to the symbol
table.
|
2006-10-06 20:40:16 +00:00 |
Ian Lance Taylor
|
5482377ddc
|
Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat.
|
2006-09-29 22:34:01 +00:00 |
Ian Lance Taylor
|
61ba1cf936
|
Snapshot. Now able to produce a minimal executable which actually
runs.
|
2006-09-29 19:58:17 +00:00 |
Ian Lance Taylor
|
274e99f9ae
|
g++ 3.2.2 portability fixes.
|
2006-09-26 21:50:25 +00:00 |
Ian Lance Taylor
|
1564db8db6
|
More symbol resolution code.
|
2006-09-07 21:21:41 +00:00 |
Ian Lance Taylor
|
14bfc3f555
|
Another snapshot of the current state of the sources. Gets to the
point of symbol resolution and can now issue a multiple definition
error. Also added target selection infrastructure.
|
2006-08-18 22:29:20 +00:00 |