* Makefile.in: Add rule for xcoffexec.o like that for paread.o.

* xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
This commit is contained in:
Jim Kingdon 1993-05-21 14:42:14 +00:00
parent 7326242025
commit c41e08c472
2 changed files with 6 additions and 2 deletions

View File

@ -599,7 +599,6 @@ depend: $(SOURCES) Makefile.in
-e 'g' \
-e '/:.*\.tab\.c/d' \
-e 's/.*:\(.*\.c\).*/ $${CC} -c $${INTERNAL_CFLAGS} \1/' \
-e 's;$${srcdir}/xcoffexec.c;-I$${BFD_DIR} &;' \
-e 's;$${srcdir}/xcoffread.c;-I$${BFD_DIR} &;' \
-e 's;$${srcdir}/stabsread.c;-I$${BFD_DIR} &;' \
-e 's;$${srcdir}/dwarfread.c;-I$${BFD_DIR} &;' \
@ -871,6 +870,11 @@ m2-exp.tab.c: $(srcdir)/m2-exp.y $(srcdir)/Makefile.in
# output of dependency information. For now, just punt. (FIXME)
paread.o: ${srcdir}/paread.c
${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/paread.c
# Used on RS6000 native.
# This rule fails to get automatically generated in depend if
# sys/ldr.h does not exist. (FIXME)
xcoffexec.o: ${srcdir}/xcoffexec.c
${CC} -c ${INTERNAL_CFLAGS} -I${BFD_DIR} ${srcdir}/xcoffexec.c
lint: $(LINTFILES)
$(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \

View File

@ -54,7 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "coff/rs6000.h" /* FIXME, raw file-format guts of xcoff */
/* For interface with stabsread.c. */
#include "stab_gnu.h"
#include "aout/stab_gnu.h"
/* Define this if you want gdb to ignore typdef stabs. This was needed for
one of Transarc, to reduce the size of the symbol table. Types won't be