Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl>
authorIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 22:01:01 +0000 (22:01 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 24 Jun 1996 22:01:01 +0000 (22:01 +0000)
commitd7b5386f2b5ac488e68d175c4823f6d07903c50a
tree64ef0db69aaa61c2048e4956e6b2b370d6cc64ca
parent2e0567eb0d6e8c2c21eb6b68fea20648a878ccd4
Mon Jun 24 17:55:31 1996  Jouke Numan  <jnuman@bazis.nl>

* ldlang.h (enum section_type): Define.
(lang_output_section_statement_type): Remove loadable field.  Add
sectype field.
(lang_enter_output_section_statement): Change flags parameter in
prototype to sectype.
* ldgram.y (typebits): Remove.
(sectype): New static variable.
(opt_at): Use sectype rather than typebits.
(type): Set sectype rather than typebits.
(atype): Likewise.
* ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in
EXPRESSION mode.
* ldlang.c (lang_output_section_statement_lookup): Set sectype
field rather than loadable field.
(wild_doit): Check sectype rather than loadable.
(lang_record_phdrs): Likewise.
(lang_enter_output_section_statement): Rename flags parameter to
sectype.  Set sectype field rather than loadable field.  Set flags
field based on sectype.
ld/ChangeLog