aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-08-05 20:37:52 +0000
committerIan Lance Taylor <ian@airs.com>1996-08-05 20:37:52 +0000
commitd22ec3b090a9e7fb20af27e6dc3bf0ca4c99bf55 (patch)
treed6529f49ab69c317c891d8319fe3885b6ab4a2f0 /bfd/elf32.c
parent6bb21dd35676c9bbd1f76451394a1ef91f19a37f (diff)
downloadgdb-d22ec3b090a9e7fb20af27e6dc3bf0ca4c99bf55.zip
gdb-d22ec3b090a9e7fb20af27e6dc3bf0ca4c99bf55.tar.gz
gdb-d22ec3b090a9e7fb20af27e6dc3bf0ca4c99bf55.tar.bz2
* ldlex.l: Recognize OVERLAY.
* ldgram.y: Add section_phdr field to %union. (section): Handle phdr_opt result. Add OVERLAY case. (opt_exp_without_type): New nonterminal. (phdr_opt): Return list of phdrs. (overlay_section): New nonterminal. * ldlang.c: Include <ctype.h>. (lang_leave_output_section_statement): Add phdrs parameter. Change all callers. (lang_section_in_phdr): Remove. (overlay_vma, overlay_lmn, overlay_max): New static variables. (struct overlay_list): Define. (overlay_list): New static variable. (lang_enter_overlay, lang_enter_overlay_section): New functions. (lang_leave_overlay_section, lang_leave_overlay): New functions. * ldlang.h (lang_leave_output_section_statement): Update declaration for new parameter. (lang_section_in_phdr): Don't declare. (lang_enter_overlay, lang_enter_overlay_section): Declare. (lang_leave_overlay_section, lang_leave_overlay): Declare. * ld.texinfo (Overlays): New node under SECTIONS, documenting overlays. * ldlex.l: Recognize MAX and MIN. * ldgram.y (MAX, MIN): New terminals. (exp): Recognize MAX and MIN. * ldexp.c (fold_binary): Handle MAX and MIN. * ld.texinfo (Arithmetic Functions): Document MAX and MIN. * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header index entries. * ldgram.y (SIZEOF, ADDR): Do not specify type.
Diffstat (limited to 'bfd/elf32.c')
0 files changed, 0 insertions, 0 deletions