diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-12-01 21:49:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-12-01 21:49:51 +0000 |
commit | 061e65f8551b1ed3af488dddb92d947c868d4948 (patch) | |
tree | 7f12c87b4a03e064acdf42d888de4ac865ed709c /ld/configure | |
parent | ae0a6bea51963cb58d2df3e5b453efdcfdd41628 (diff) | |
download | gdb-061e65f8551b1ed3af488dddb92d947c868d4948.zip gdb-061e65f8551b1ed3af488dddb92d947c868d4948.tar.gz gdb-061e65f8551b1ed3af488dddb92d947c868d4948.tar.bz2 |
* ldgram.y (PHDRS): New token.
(ifile_p1): Accept phdrs.
(section): Accept phdr_opt at the end of the section definition.
(phdr_op): New nonterminal.
(phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
* ldlex.l: Accept PHDRS.
* ldlang.h (struct lang_output_section_phdr_list): Define.
(lang_output_section_statement_type): Add phdrs field.
(struct lang_phdr): Define.
(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
(lang_new_phdr): Declare.
* ldlang.c (lang_phdr_list): New static variable.
(lang_output_section_statement_lookup): Initialize phdrs field.
(lang_process): Call lang_record_phdrs.
(lang_new_phdr): New function.
(lang_section_in_phdr): New function.
(lang_record_phdrs): New static function.
* ld.texinfo: Document PHDRS.
Diffstat (limited to 'ld/configure')
0 files changed, 0 insertions, 0 deletions