* Makefile.in: Add xcoffread.c, xcoffexec.c.

* xcoffread.c:  New file for handling AIX mangled-coff files.
* xconfig/rs6000, tconfig/rs6000:  New files.
* buildsym.c:  Add hooks for xcoffread.c.
This commit is contained in:
John Gilmore 1991-11-12 15:54:27 +00:00
parent 41abdfbd2d
commit 74f6fb084c
2 changed files with 28 additions and 0 deletions

View file

@ -1,3 +1,13 @@
Tue Nov 12 07:23:46 1991 John Gilmore (gnu at cygnus.com)
* Makefile.in: Add xcoffread.c, xcoffexec.c.
* xcoffread.c: New file for handling AIX mangled-coff files.
* xconfig/rs6000, tconfig/rs6000: New files.
* buildsym.c: Add hooks for xcoffread.c.
* rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
xm-rs6000.h: New files.
* xcoffexec.c: New file for handling AIX shared libraries.
Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com) Mon Nov 11 19:14:31 1991 Fred Fish (fnf at cygnus.com)
* core.c: Minor rewording of message to user containing name of * core.c: Minor rewording of message to user containing name of

View file

@ -716,6 +716,19 @@ end_symtab (end_addr, sort_pending, sort_linevec, objfile)
file_symbols is still good). */ file_symbols is still good). */
cleanup_undefined_types (); cleanup_undefined_types ();
/* Hooks for xcoffread.c */
if (file_stabs) {
patch_block_stabs (file_symbols, file_stabs);
free (file_stabs);
file_stabs = 0;
}
if (global_stabs) {
patch_block_stabs (global_symbols, global_stabs);
free (global_stabs);
global_stabs = 0;
}
if (pending_blocks == 0 if (pending_blocks == 0
&& file_symbols == 0 && file_symbols == 0
&& global_symbols == 0) { && global_symbols == 0) {
@ -1630,6 +1643,11 @@ read_type (pp)
return type; return type;
} }
case '-': /* RS/6000 built-in type */
(*pp)--;
type = builtin_type (pp); /* (in xcoffread.c) */
goto after_digits;
case '0': case '0':
case '1': case '1':
case '2': case '2':