Commit graph

150 commits

Author SHA1 Message Date
Ian Lance Taylor
cd72c29180 From Craig Silverstein: implement -z max-page-size and -z
common-page-size.
2008-02-26 22:10:32 +00:00
Ian Lance Taylor
0daa6f62c8 Support selecting target by name. 2008-02-13 02:44:50 +00:00
Ian Lance Taylor
dceae3c154 Support dynamic relocations against local section symbols. 2008-02-12 00:28:48 +00:00
Ian Lance Taylor
8fc19601e8 From Cary Coutant: fix handling of undefined symbols in shared
libraries.
2008-02-08 22:49:22 +00:00
Ian Lance Taylor
6a74a71947 Initial -r support. 2008-02-06 08:13:50 +00:00
Ian Lance Taylor
03e8f2b225 From Cary Coutant: Fix a case in which code takes the address of a
function and also calls it directly.
2008-02-01 00:39:10 +00:00
Ian Lance Taylor
9b07f471e3 Don't pass around the target in order to define symbols; get it from
the parameters instead.
2008-01-26 01:17:45 +00:00
Ian Lance Taylor
0700cf329e From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
shared library.
2008-01-23 07:15:59 +00:00
Ian Lance Taylor
99f8facac9 From Cary Coutant: Fix handling of versioned symbols, add some tests. 2007-12-21 23:31:19 +00:00
Ian Lance Taylor
fe8718a463 Convert more instances of off_t to be 32-bit types. 2007-12-20 21:21:24 +00:00
Ian Lance Taylor
535890bb64 From Cary Coutant: Set DF_STATIC_TLS as appropriate. 2007-12-11 23:30:52 +00:00
Ian Lance Taylor
31d6048054 From Cary Coutant: Fix x86_64 TLS problem. 2007-12-11 21:21:14 +00:00
Ian Lance Taylor
6a41d30bc2 From Cary Coutant: Fix x86_64 TLS. Also set DT_TEXTREL as well as
DF_TEXTREL.
2007-12-07 23:26:51 +00:00
Ian Lance Taylor
e8c846c359 From Cary Coutant: Fix handling of RELATIVE RELA relocs. 2007-12-07 19:32:59 +00:00
Ian Lance Taylor
78d911fd3e From Cary Coutant: Some x86_64 shared library fixes. 2007-12-07 00:59:31 +00:00
Ian Lance Taylor
7bf1f8020f From Cary Coutant: More support for generating shared libraries. 2007-12-06 05:55:50 +00:00
Ian Lance Taylor
27bc2bce09 Clean up setting address and section offset. 2007-11-29 20:10:17 +00:00
Ian Lance Taylor
4f4c5f80c7 From Cary Coutant: Count textrel with output sections rather than
setting a flag as we add each reloc in the target code.
2007-11-15 23:46:46 +00:00
Ian Lance Taylor
a2b1aa12f7 From Craig Silverstein: Add support for --demangle. 2007-11-15 01:12:55 +00:00
Ian Lance Taylor
07f397aba3 From Cary Coutant: Improve i386 shared library TLS support. 2007-11-14 22:31:02 +00:00
Ian Lance Taylor
9a2d698415 Add heuristics for undefined symbol warnings. 2007-11-14 16:53:25 +00:00
Ian Lance Taylor
601e4987b8 Revert last patch. 2007-11-14 08:03:41 +00:00
Ian Lance Taylor
3728821ffc Support special always-defined symbols for targets. 2007-11-14 07:52:21 +00:00
Ian Lance Taylor
386c048c7a Correct handling of GOT references in a regular object. 2007-11-12 17:51:55 +00:00
Ian Lance Taylor
d61c6bd41c From Cary Coutant: More shared library support, some refactorization. 2007-11-09 19:45:08 +00:00
Ian Lance Taylor
730cdc88f7 Generate a complete exception frame header. Discard duplicate
exception frame information.
2007-11-09 07:00:15 +00:00
Ian Lance Taylor
86849f1fac From Cary Coutant: Correct generation of RELATIVE relocs. 2007-11-02 04:08:52 +00:00
Ian Lance Taylor
96f2030e25 From Cary Coutant: More support for -shared, including fixes to GOT
handling.
2007-11-01 00:19:30 +00:00
Ian Lance Taylor
c1866bd5e3 Adjust PLTOFF64 calculation. 2007-10-30 04:23:19 +00:00
Ian Lance Taylor
ee9e9e8644 From Craig Silverstein: Implement GOTPLT64 and PLTOFF64. 2007-10-30 01:21:51 +00:00
Ian Lance Taylor
fdc2f80f7e From Craig Silverstein: Clean up some unnecessary TODO markers. 2007-10-29 23:36:39 +00:00
Ian Lance Taylor
5662214762 From Craig Silverstein: better organization for TLS code. 2007-10-29 20:09:35 +00:00
Ian Lance Taylor
35cdfc9a87 Add support for PT_GNU_STACK. 2007-10-23 05:05:48 +00:00
Ian Lance Taylor
46fe162319 Fix versions of copied symbols. 2007-10-22 23:08:22 +00:00
Ian Lance Taylor
f389a824b8 From Craig Silverstein: handle PLT32 relocs against local symbols for
x86_64.
2007-10-20 04:33:21 +00:00
Ian Lance Taylor
0c5e9c22aa From Craig Silverstein: implement -Ttext. 2007-10-16 22:38:36 +00:00
Ian Lance Taylor
1b64748bed From Craig Silverstein: support local GOT relocs for i386. 2007-10-16 00:42:36 +00:00
Ian Lance Taylor
72ec287661 From Craig Silverstein: add LD to LE TLS optimizations. 2007-10-15 03:39:16 +00:00
Ian Lance Taylor
a0c4fb0ac6 Remove extraneous newlines. 2007-10-14 06:57:58 +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
e041f13d5a From Craig Silverstein: use tls.h in x86_64.cc. 2007-10-13 00:15:07 +00:00
Ian Lance Taylor
0ffd9845f2 From Craig Silverstein: improve x86_64 TLS support. 2007-10-12 06:00:55 +00:00
Ian Lance Taylor
7d00dcbd9c From Andrew Chatham: exit on relocation error. 2007-10-11 19:13:02 +00:00
Ian Lance Taylor
d61c17ea24 From Craig Silverstein: x86_64 TLS support. 2007-10-04 22:28:36 +00:00
Ian Lance Taylor
ff0065209a From Craig Silverstein: get all x86_64 tests passing. 2007-10-03 20:50:53 +00:00
Ian Lance Taylor
4fb6c25d50 From Craig Silverstein: set symbol value for function pointer
equality across shared library boundaries.
2007-10-03 05:40:11 +00:00
Ian Lance Taylor
e84992bbac From Craig Silverstein: correct x86_64 dynamic tags. 2007-10-02 22:10:10 +00:00
Ian Lance Taylor
7bb3655e07 Cleanups from Craig Silverstein. 2007-10-01 23:42:58 +00:00
Ian Lance Taylor
e822f2b19a From Craig Silverstein: New version of x86_64.cc. 2007-10-01 22:21:58 +00:00
Ian Lance Taylor
2e30d253b7 From Craig Silverstein: x86_64 support. 2007-10-01 21:30:59 +00:00