diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-08-31 17:47:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-08-31 17:47:58 +0000 |
commit | ef5b53687be06bacd46116f1ed32cc5c9bc0307f (patch) | |
tree | b214428dc2e184c33f936c00a8be57cb27bc9d17 /sim/h8300 | |
parent | f993f087dac2203c6a73188a7cb1493b4c77a008 (diff) | |
download | gdb-ef5b53687be06bacd46116f1ed32cc5c9bc0307f.zip gdb-ef5b53687be06bacd46116f1ed32cc5c9bc0307f.tar.gz gdb-ef5b53687be06bacd46116f1ed32cc5c9bc0307f.tar.bz2 |
* nlmconv.c (main): Force creation of .bss section. Set up the
sections before looking at the symbols. Move all common symbols
into .bss section. Automatically define _edata and _end. Only
export symbols in the export list, with multiple prefixes if
necessary. Warn if no version. Always create extended header.
Set date automatically if not already set.
(setup_sections): Count size of bss sections.
(mangle_relocs, i386_mangle_relocs): Accept section argument, and
take reloc_count as a changeable pointer; changed callers.
(i386_mangle_relocs): Remove PC relative relocs within a section,
as they require no adjustment.
* nlmheader.y: Fixed memory allocation throughout: token STRING is
now allocated on the heap, and freed if not needed. Null
terminated copyright message. Accept version with only two
strings.
(symbol_list_opt): New nonterminal, either symbol_list or empty.
(symbol_list): Use left recursion to avoid overflowing parser
stack.
(yylex): Rearranged beginning of line check. Accept quoted
strings using single quotes. End generic argument at comment
character or parentheses.
(string_list_append): Fixed.
(string_list_append1): New function.
Diffstat (limited to 'sim/h8300')
0 files changed, 0 insertions, 0 deletions