Commit Graph

144 Commits

Author SHA1 Message Date
Ian Lance Taylor ad435a2465 Adjust linkonce symbol name algorithm to work for
.gnu.linkonce.t.__i686.get_pc_thunk.bx.
2007-10-14 07:27:10 +00:00
Ian Lance Taylor d20222a1e7 Better multiple definition errors. 2007-10-14 07:10:20 +00:00
Ian Lance Taylor a0c4fb0ac6 Remove extraneous newlines. 2007-10-14 06:57:58 +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 eb4dfdd470 Fix typo in comment. 2007-10-14 04:10:25 +00:00
Ian Lance Taylor 27b7985a73 From Craig Silverstein: add some internationalization calls. 2007-10-14 04:06:18 +00:00
Ian Lance Taylor 097ec620e1 Only run static TLS tests on glibc 2.4 or later. 2007-10-14 03:57:22 +00:00
Ian Lance Taylor 8261e3bfa5 From Craig Silverstein: TLS test cleanups. 2007-10-14 03:23:38 +00:00
Ian Lance Taylor e2305dc04c From Craig Silverstein: always use 32-bit format for gold note. 2007-10-14 03:12:53 +00:00
Ian Lance Taylor 4eff2974c2 From Craig Silverstein: error if we see a dynamic object when the
-static option was given.
2007-10-14 02:52:13 +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 e03748586c From Craig Silverstein: expand the TLS test to a second file, to test
IE to LE conversion.
2007-10-12 17:32:20 +00:00
Ian Lance Taylor cfd73a4e26 Add an option for Stringpools to not copy strings. 2007-10-12 06:06:34 +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 e44fcf3bcf Add --stats option to print runtime and memory usage statistics. 2007-10-12 05:51:25 +00:00
Ian Lance Taylor 7d00dcbd9c From Andrew Chatham: exit on relocation error. 2007-10-11 19:13:02 +00:00
Ian Lance Taylor 46738c9aeb From Craig Silverstein: don't permit -s and -r. 2007-10-10 19:30:39 +00:00
Ian Lance Taylor 9e2dcb779c Implement -s and -S options which strip symbols. 2007-10-10 19:02:56 +00:00
Ian Lance Taylor cec9d2f362 From Craig Silverstein: don't get confused if the same file name
occurs in an archive.
2007-10-10 06:33:56 +00:00
Ian Lance Taylor 4e9d858638 From Craig Silverstein: delete the output file first if it exists and
is non-empty.
2007-10-10 06:29:10 +00:00
Ian Lance Taylor 4f211c8bff Create a note section with the version of gold. 2007-10-09 21:37:55 +00:00
Ian Lance Taylor e2aacd2c75 Fix soname for library found in search path. 2007-10-09 17:46:15 +00:00
Ian Lance Taylor e982104129 Make TLS test fail more reliably. 2007-10-08 07:24:21 +00:00
Ian Lance Taylor e727fa71af Add support for local GOT offsets. 2007-10-08 07:22:21 +00:00
Ian Lance Taylor af6359d59d From Craig Silverstein: add tls.h, use it in i386.cc. 2007-10-08 05:12:59 +00:00
Ian Lance Taylor 8486ee48e8 Add --version option. 2007-10-07 18:06:27 +00:00
Ian Lance Taylor f958d5fc53 Test merging of string constants. 2007-10-07 17:20:18 +00:00
Ian Lance Taylor 6eee141ff6 Add a TLS test case. 2007-10-07 17:10:10 +00:00
Ian Lance Taylor 46cf9fa27e Add support for local dynamic relocations. 2007-10-07 17:05:07 +00:00
Ian Lance Taylor 063f12a825 Correct handling of addends in merged sections. 2007-10-06 05:40:44 +00:00
Ian Lance Taylor 2fb69fac7a From Andrew Chatham: fix bug in 64-bit hash. 2007-10-05 17:36:31 +00:00
Ian Lance Taylor d61c17ea24 From Craig Silverstein: x86_64 TLS support. 2007-10-04 22:28:36 +00:00
Ian Lance Taylor ad2d6943a4 Full support for --sysroot. 2007-10-04 05:49:04 +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 6340166c8b Parameterize object_unittest to work for whatever target types are
supported.
2007-10-03 00:34:49 +00:00
Ian Lance Taylor 63402fe413 From Craig Silverstein: don't run function pointer non-PIC tests when
they won't work.
2007-10-02 22:45:07 +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 51dee2fec3 From Craig Silverstein: add support for searching for input files
named in linker scripts.
2007-10-02 21:24:41 +00:00
Ian Lance Taylor f5c3f2256f From Craig Silverstein: avoid some signed/unsigned warnings from gcc 4.2. 2007-10-02 20:52:18 +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
Ian Lance Taylor 5b3463d9ee Add Signed_valtype and use it for sign extension. Fix names of rela8. 2007-10-01 21:25:23 +00:00
Ian Lance Taylor d830e0e0c9 Add RELA versions of the relocation routines. Original patch from
Craig Silverstein, with Symbol_value<> versions added.
2007-10-01 00:05:08 +00:00
Ian Lance Taylor 6df6da4a61 Clean up target handling--only build required files, warn about
unsupported targets.
2007-09-30 23:41:32 +00:00
Ian Lance Taylor b3b74ddc6e Use parameters to track whether we are doing a static link. Fix up
final_value_is_known for weak undefined symbols.  Pointed out by Cary
Coutant.
2007-09-28 06:36:25 +00:00
Ian Lance Taylor dfbba8f432 From Andrew Chatham: add signedrel<>, rel32s and friends. 2007-09-28 06:00:26 +00:00
Ian Lance Taylor 9025d29d14 Put size and endianness in parameters. 2007-09-26 07:01:35 +00:00