Commit Graph

11 Commits

Author SHA1 Message Date
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