Add enough support to understand the gcc svr3.ifile script:
authorIan Lance Taylor <ian@airs.com>
Thu, 20 Jun 1996 18:23:24 +0000 (18:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 20 Jun 1996 18:23:24 +0000 (18:23 +0000)
commit55745b34b0f9dc6bcd1c95509248c6159b19ca5c
tree1f73d20f68fe8cb6f4fb410314d1bd587431c2c9
parentc1801422409901cb90673a4f0768844ef7011940
Add enough support to understand the gcc svr3.ifile script:
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context.  Add
BIND keyword.
* ldgram.y: Add BIND token.
(section): Recognize GROUP.
(opt_ext_with_type): Recognize a couple of cases of BIND.
* ldlang.c (init_os): Don't do anything if section is already
initialized.  Call exp_init_os on addr_tree field.
(exp_init_os): New static function.
(map_input_to_output_sections): Call exp_init_os on assignment
expression.
(lang_place_orphans): Check for common sections by name COMMON
rather than by common_section field.  Don't warn about absence of
[COMMON] command.
ld/ChangeLog