Commit Graph

370 Commits

Author SHA1 Message Date
Ian Lance Taylor 1d6531cfad Don't crash if we change the address of the .eh_frame section after we
find its size.
2008-03-13 20:58:11 +00:00
Ian Lance Taylor 2285a61069 From Craig Silverstein: Implement --debug=files to track file opens,
and implement --verbose as a synonym.
2008-03-13 01:46:17 +00:00
Ian Lance Taylor 1650c4ff50 Combine read-only .eh_frame sections with read-write .eh_frame
sections.
2008-03-12 04:38:42 +00:00
Craig Silverstein 5340de5bee Up version to 1.2, as the 1.2 binary was pushed to users today. 2008-03-11 20:06:31 +00:00
Ian Lance Taylor 4e2b16973e If we a section with no flags followed by a section with the same name
with flags, put them in the same output section.
2008-03-11 16:50:08 +00:00
Ian Lance Taylor fee2edb1e4 From Craig Silverstein: sort options into alphabetical order. 2008-03-07 18:50:04 +00:00
Ian Lance Taylor 9531704395 Increase maximum bucket size for dynamic hash tables. 2008-03-07 16:30:59 +00:00
Ian Lance Taylor a8627968fb From Craig Silverstein: implement --hash-bucket-empty-fraction for real. 2008-03-07 16:27:33 +00:00
Ian Lance Taylor c18476e7f1 Recognize --hash-bucket-empty-fraction. 2008-03-07 07:00:48 +00:00
Ian Lance Taylor 6be6f3bdcd Use absolute address for relocations when not doing a relocatable
link.
2008-03-06 06:10:44 +00:00
Ian Lance Taylor a4d4b13f68 Use N_ for option help strings, and call gettext when printing them. 2008-03-06 05:51:42 +00:00
Ian Lance Taylor 09ffbbe0d4 From Craig Silverstein: accept any string for input format, warn if
thread options when not supported.
2008-03-06 00:53:37 +00:00
Ian Lance Taylor 7dfac99ff1 Don't use the user-specified output format unless the user actually
specified one.
2008-03-06 00:17:43 +00:00
Ian Lance Taylor 13670ee669 Support --hash-style=gnu. 2008-03-06 00:15:04 +00:00
Ian Lance Taylor ee1fe73e11 From Craig Silverstein: rework option handling to make it easier to
add a new option.
2008-03-04 23:10:38 +00:00
Ian Lance Taylor 7cc619c3b1 From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
2008-03-04 18:21:43 +00:00
Ian Lance Taylor 021777a2ec Remove partial implementation that was never completed. This was
replaced by the Stringpool<> class.
2008-03-03 23:47:14 +00:00
Ian Lance Taylor 7d1a9ebbf2 Remove gcc 3.2 compatibility hacks. 2008-02-29 19:19:17 +00:00
Ian Lance Taylor 8f2eb564dd Permit scripts to refer to the addresses of output sections which were
not created.
2008-02-29 00:04:06 +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 0dfbdef4c4 Support -d/--define-common. 2008-02-28 20:35:39 +00:00
Ian Lance Taylor da769d5629 Read input scripts which look like input objects with proper
serialization.
2008-02-28 19:46:06 +00:00
Ian Lance Taylor 919ed24cbc Don't check assertions until symbols are finalized. Create an output
section if the script uses a data statement with no input sections.
Don't create a loadable segment for the headers if there is no room.
2008-02-28 04:45:47 +00:00
Ian Lance Taylor 15cf077ef4 Put input sections with no flags in output sections with the same name. 2008-02-28 00:51:07 +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 7019cd2565 Implement -q/--emit-relocs. 2008-02-27 22:38:18 +00:00
Ian Lance Taylor 1890b46591 Fix handling of ENTRY in linker script. 2008-02-27 15:09:16 +00:00
Ian Lance Taylor a5dc070655 From Craig Silverstein: rework handling of Script_options. 2008-02-26 22:48:08 +00:00
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 45aa233bdc From Craig Silverstein: rename option functions for future option
handling rewrite.
2008-02-26 21:45:30 +00:00
Ian Lance Taylor 935e887746 Align FDE and CIE lengths as needed. 2008-02-14 02:40:15 +00:00
Ian Lance Taylor fd247bfe68 Set load address for orphan sections. 2008-02-14 02:34:22 +00:00
Ian Lance Taylor 756ac4a80d Implement -Tdata and -Tbss. 2008-02-13 22:47:28 +00:00
Ian Lance Taylor 3edc73f245 Implement remaining linker script functions. 2008-02-13 22:44:50 +00:00
Ian Lance Taylor 0daa6f62c8 Support selecting target by name. 2008-02-13 02:44:50 +00:00
Ian Lance Taylor caa9d5d919 Assignments in linker scripts override definitions from object files. 2008-02-13 01:20:38 +00:00
Ian Lance Taylor 7508a0934e Implement LOADADDR and SIZEOF. 2008-02-13 01:18:53 +00:00
Craig Silverstein 9d37b37d37 Up version to 1.1, as the 1.1 binary was pushed to users today. 2008-02-12 02:01:32 +00:00
Ian Lance Taylor dceae3c154 Support dynamic relocations against local section symbols. 2008-02-12 00:28:48 +00:00
Ian Lance Taylor 4e8fe71f6c Set TEXTREL correctly when using a SECTIONS clause. 2008-02-12 00:24:00 +00:00
Ian Lance Taylor 0e43bb4edd Pass down alignment when adding input section to orphan section. 2008-02-12 00:17:35 +00:00
Ian Lance Taylor 33a3a15316 Force different sections to different pages for better results on
x86_64 Linux.
2008-02-12 00:15:40 +00:00
Ian Lance Taylor 03df6b3280 Fix precedence error, avoid signed/unsignd warning. 2008-02-12 00:13:39 +00:00
Ian Lance Taylor 77e655378d Track sections for expressions. 2008-02-09 01:22:17 +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 b0d8593d63 Don't read linker scripts in binary mode. 2008-02-08 07:31:09 +00:00
Ian Lance Taylor bc644c6cfc Add support for --format binary for input files. 2008-02-08 07:06:58 +00:00
Ian Lance Taylor 516cb3d01e Support --oformat binary. 2008-02-07 07:33:46 +00:00
Ian Lance Taylor 1ef1f3d387 Ignore version scripts for relocatable links. 2008-02-07 05:45:07 +00:00
Ian Lance Taylor 5fe2a0f55b Even when stripping all symbols, we need to write out the dynamic
symbol table.
2008-02-07 04:35:41 +00:00