summaryrefslogtreecommitdiff
path: root/ld/ldlang.c
Commit message (Collapse)AuthorAgeFilesLines
* Another try at correcting relocations against discardedAlan Modra2000-10-121-2/+1
| | | | link-once section symbols.
* 2000-10-09 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-10-091-4/+3
| | | | | | | | | | | | | | | * ldcref.c: Fix formatting. * ldctor.h: Likewise. * ldemul.c: Likewise. * ldemul.h: Likewise. * ldexp.c: Likewise. * ldexp.h: Likewise. * ldfile.c: Likewise. * ldfile.h: Likewise. * ld.h: Likewise. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldmain.c: Likewise.
* 2000-10-05 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-10-051-272/+270
| | | | * ldlang.c: Fix formatting.
* 2000-09-29 Kazu Hirata <kazu@hxi.com>Kazu Hirata2000-09-291-18/+4
| | | | | | | | | * ldcref.c: Fix formatting. * ldctor.c: Likewise. * ldemul.c: Likewise. * ldexp.c: Likewise. * ldfile.c: Likewise. * ldlang.c: Likewise.
* A tidy of ld/ldlang.c, and add missing Makefile dependenciesAlan Modra2000-09-051-165/+181
| | | | I should have added with the 2000-07-28 patch.
* When choosing the target for a particular endianness, do nothing if the targetNick Clifton2000-08-251-25/+30
| | | | is not supported.
* Remove some forward declarations in ldemul.h and ldfile.h, andAlan Modra2000-07-111-1/+1
| | | | | | re-arrange header include order. Fix shadowing warnings in ldlang.h Fix compile errors in mpw-elfmips.c
* tic54x/ibmc54xdsp target for ld.Timothy Wall2000-06-201-0/+7
|
* 2000-05-10 H.J. Lu <hjl@gnu.org>H.J. Lu2000-05-101-1/+3
| | | | | * ldlang.c (open_input_bfds): Don't load the same file within a group again if the whole archive has been loaded already.
* place_orphan optimisationsAlan Modra2000-04-251-2/+3
|
* This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra2000-02-211-22/+22
| | | | | warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
* Add LMA memory region functionality.Timothy Wall2000-02-161-34/+89
|
* These snippets were missed in the previous bytes vs octets patch toTimothy Wall2000-02-091-2/+6
| | | | the linker.
* Fix typo in ALIGN_N usage.Timothy Wall2000-02-041-2/+2
|
* Add octets vs bytes functionality to LD.Timothy Wall2000-02-031-50/+83
|
* fix typo in comment.Nick Clifton2000-01-211-0/+1
|
* Apply H.J.'s patch to fix NOLOAD section sizes and dot updatesNick Clifton2000-01-181-3/+8
|
* * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.Catherine Moore2000-01-051-15/+25
| | | | | | | | | | | | (name_list): New. * ld.texinfo (EXCLUDE_FILE): Update documentation. * ldgram.y (wildcard_spec): Support a list of excluded_files. (exclude_name_list): New. ldlang.c (walk_wild_section): Support list of excluded files. (print_wild_statement): Likewise. (lang_add_wild): Likewise. * ldlang.h (lang_wild_statement_type): Likewise. * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
* Fix bug in previous deltaNick Clifton1999-11-241-1/+1
|
* Do not check sections without a LOAD attribute for overlapNick Clifton1999-11-231-41/+44
|
* 1999-11-01 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor1999-11-011-21/+84
| | | | | | | | * ldlang.c (section_already_linked): Rework to use hash table. (already_linked_newfunc): New function. (already_linked_table_init): New function. (already_linked_table_free): New function. (lang_process): Initialize and free the already_linked hash table.
* 1999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-7/+21
| | | | | * ldlang.c (section_already_linked): Use comdat information if it is available.
* * ldlang.c (open_output): Change local variable desired_endianIan Lance Taylor1999-09-121-1/+1
| | | | from int to enum bfd_endian.
* From Wally Iimura <iimura@microunity.com>:Ian Lance Taylor1999-08-091-5/+13
| | | | | | * ldlang.c (lang_size_sections): When checking whether an address is within a region, don't get confused by wrapping around at the end of the address space.
* * ldlang.c (wild_doit): Update for renaming of SEC_SHORT toIan Lance Taylor1999-08-091-3/+3
| | | | SEC_SMALL_DATA.
* * ldlang.c (lang_gc_sections): Only handle the start symbolDoug Evans1999-07-201-6/+9
| | | | specially if there is one.
* Improve selection of output formatNick Clifton1999-07-191-35/+228
|
* * ldlang.c (wild_doit): Copy SEC_SHORT to output section.Richard Henderson1999-07-141-0/+4
|
* * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1999-07-111-7/+7
| | | | as appropriate. Fill in structure initializations.
* * ldlang.c: Revert change of 1999-06-23.Ian Lance Taylor1999-07-021-5/+17
|
* * ldlang.c (section_already_linked): Only discard link onceIan Lance Taylor1999-06-221-0/+5
| | | | sections if we are building constructors.
* This fixes ! to work as documented in a memory region attribute list.Ian Lance Taylor1999-06-121-7/+4
| | | | | | | | | From Thomas Zenker <thz@lennartz-electronic.de>: * ldgram.y (attributes_opt): Use attributes_list instead of NAME. (attributes_list, attributes_string): New nonterminals. * ldlang.c (lang_set_flags): Add invert parameter. Don't handle '!'. * ldlang.c (lang_set_flags): Update declaration.
* * ldlang.c (walk_wild, walk_wild_file, walk_wild_section,Richard Henderson1999-05-081-277/+198
| | | | | | | | | | | output_section_callback, gc_section_callback): New functions for generic section walks. (wild, lang_gc_wild): Use walk_wild. (wild_file, lang_gc_wild_file): Deleted. Common logic moved to walk_wild_file. (wild_section, lang_gc_wild_section): Deleted. Common logic moved to walk_fild_section. Unique logic moved into callbacks output_section_callback and gc_section_callback.
* 19990502 sourceware importbinu_ss_19990502Richard Henderson1999-05-031-0/+4703