Kazu Hirata
4de2d33d1b
2000-09-29 Kazu Hirata <kazu@hxi.com>
...
* ldcref.c: Fix formatting.
* ldctor.c: Likewise.
* ldemul.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
2000-09-29 11:18:18 +00:00
Alan Modra
5f992e6228
A tidy of ld/ldlang.c, and add missing Makefile dependencies
...
I should have added with the 2000-07-28 patch.
2000-09-05 03:21:16 +00:00
Nick Clifton
c13b1b775b
When choosing the target for a particular endianness, do nothing if the target
...
is not supported.
2000-08-25 20:44:09 +00:00
Alan Modra
b71e277823
Remove some forward declarations in ldemul.h and ldfile.h, and
...
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c
2000-07-11 03:42:41 +00:00
Timothy Wall
74459f0e3e
tic54x/ibmc54xdsp target for ld.
2000-06-20 13:29:07 +00:00
H.J. Lu
cd4c806ac9
2000-05-10 H.J. Lu <hjl@gnu.org>
...
* ldlang.c (open_input_bfds): Don't load the same file within
a group again if the whole archive has been loaded already.
2000-05-10 23:12:35 +00:00
Alan Modra
aea4bd9d34
place_orphan optimisations
2000-04-25 05:14:16 +00:00
Alan Modra
f6af82bd44
This lot mainly cleans up `comparison between signed and unsigned' gcc
...
warnings. One usused var, and a macro parenthesis fix too. Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:27 +00:00
Timothy Wall
562d3460fb
Add LMA memory region functionality.
2000-02-16 18:53:32 +00:00
Timothy Wall
9e4ed18ce8
These snippets were missed in the previous bytes vs octets patch to
...
the linker.
2000-02-09 14:42:48 +00:00
Timothy Wall
32edc927fa
Fix typo in ALIGN_N usage.
2000-02-04 19:49:21 +00:00
Timothy Wall
4cbfc3ac19
Add octets vs bytes functionality to LD.
2000-02-03 18:24:46 +00:00
Nick Clifton
13392b77a7
fix typo in comment.
2000-01-21 17:44:51 +00:00
Nick Clifton
cce4c4c5bd
Apply H.J.'s patch to fix NOLOAD section sizes and dot updates
2000-01-18 23:58:58 +00:00
Catherine Moore
18625d5459
* ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
...
(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.
2000-01-05 14:12:23 +00:00
Nick Clifton
50e05050cd
Fix bug in previous delta
1999-11-24 11:43:11 +00:00
Nick Clifton
33275c22c0
Do not check sections without a LOAD attribute for overlap
1999-11-23 14:13:07 +00:00
Ian Lance Taylor
9503fd8735
1999-11-01 Steve Chamberlain <sac@pobox.com>
...
* 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-11-01 23:37:48 +00:00
Ian Lance Taylor
bb8fe706a0
1999-09-12 Donn Terry <donn@interix.com>
...
* ldlang.c (section_already_linked): Use comdat information if it
is available.
1999-09-12 16:10:00 +00:00
Ian Lance Taylor
1b69a0bfca
* ldlang.c (open_output): Change local variable desired_endian
...
from int to enum bfd_endian.
1999-09-12 14:50:15 +00:00
Ian Lance Taylor
fe9edd2275
From Wally Iimura <iimura@microunity.com>:
...
* 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 06:14:09 +00:00
Ian Lance Taylor
667f51773f
* ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
...
SEC_SMALL_DATA.
1999-08-09 03:22:27 +00:00
Doug Evans
7c83b342ee
* ldlang.c (lang_gc_sections): Only handle the start symbol
...
specially if there is one.
1999-07-20 22:27:31 +00:00
Nick Clifton
e50d80767c
Improve selection of output format
1999-07-19 14:57:03 +00:00
Richard Henderson
9e41f97317
* ldlang.c (wild_doit): Copy SEC_SHORT to output section.
1999-07-14 16:45:13 +00:00
Ian Lance Taylor
87f2a3464b
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Fill in structure initializations.
1999-07-11 20:09:04 +00:00
Ian Lance Taylor
e361c369df
* ldlang.c: Revert change of 1999-06-23.
1999-07-02 07:45:31 +00:00
Ian Lance Taylor
7b9eea348f
* ldlang.c (section_already_linked): Only discard link once
...
sections if we are building constructors.
1999-06-22 21:13:24 +00:00
Ian Lance Taylor
aa8804e46e
This fixes ! to work as documented in a memory region attribute list.
...
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-06-12 21:24:56 +00:00
Richard Henderson
4dec4d4e74
* ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
...
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-08 23:40:58 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00