aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
AgeCommit message (Collapse)AuthorFilesLines
2000-07-11Remove some forward declarations in ldemul.h and ldfile.h, andAlan Modra1-1/+1
re-arrange header include order. Fix shadowing warnings in ldlang.h Fix compile errors in mpw-elfmips.c
2000-06-20tic54x/ibmc54xdsp target for ld.Timothy Wall1-0/+7
2000-05-102000-05-10 H.J. Lu <hjl@gnu.org>H.J. Lu1-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.
2000-04-25place_orphan optimisationsAlan Modra1-2/+3
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra1-22/+22
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-02-16Add LMA memory region functionality.Timothy Wall1-34/+89
2000-02-09These snippets were missed in the previous bytes vs octets patch toTimothy Wall1-2/+6
the linker.
2000-02-04Fix typo in ALIGN_N usage.Timothy Wall1-2/+2
2000-02-03Add octets vs bytes functionality to LD.Timothy Wall1-50/+83
2000-01-21fix typo in comment.Nick Clifton1-0/+1
2000-01-18Apply H.J.'s patch to fix NOLOAD section sizes and dot updatesNick Clifton1-3/+8
2000-01-05 * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.Catherine Moore1-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.
1999-11-24Fix bug in previous deltaNick Clifton1-1/+1
1999-11-23Do not check sections without a LOAD attribute for overlapNick Clifton1-41/+44
1999-11-011999-11-01 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor1-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-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-7/+21
* ldlang.c (section_already_linked): Use comdat information if it is available.
1999-09-12 * ldlang.c (open_output): Change local variable desired_endianIan Lance Taylor1-1/+1
from int to enum bfd_endian.
1999-08-09 From Wally Iimura <iimura@microunity.com>:Ian Lance Taylor1-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.
1999-08-09 * ldlang.c (wild_doit): Update for renaming of SEC_SHORT toIan Lance Taylor1-3/+3
SEC_SMALL_DATA.
1999-07-20 * ldlang.c (lang_gc_sections): Only handle the start symbolDoug Evans1-6/+9
specially if there is one.
1999-07-19Improve selection of output formatNick Clifton1-35/+228
1999-07-14 * ldlang.c (wild_doit): Copy SEC_SHORT to output section.Richard Henderson1-0/+4
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-7/+7
as appropriate. Fill in structure initializations.
1999-07-02 * ldlang.c: Revert change of 1999-06-23.Ian Lance Taylor1-5/+17
1999-06-22 * ldlang.c (section_already_linked): Only discard link onceIan Lance Taylor1-0/+5
sections if we are building constructors.
1999-06-12This fixes ! to work as documented in a memory region attribute list.Ian Lance Taylor1-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.
1999-05-08 * ldlang.c (walk_wild, walk_wild_file, walk_wild_section,Richard Henderson1-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.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+4703