;;
vax-*-openbsd*)
- targ_defvec=vaxnetbsd_vec
- targ_underscore=yes
+ targ_defvec=elf32_vax_vec
+ targ_selvecs=vaxnetbsd_vec
;;
vax-*-linux-*)
# Stage specific cflags for build.
stage1_cflags="-g"
case $build in
+ vax-*-openbsd*) ;;
vax-*-*)
case ${GCC} in
yes) stage1_cflags="-g -Wa,-J" ;;
# Stage specific cflags for build.
stage1_cflags="-g"
case $build in
+ vax-*-openbsd*) ;;
vax-*-*)
case ${GCC} in
yes) stage1_cflags="-g -Wa,-J" ;;
v850e-*-*) fmt=elf ;;
v850ea-*-*) fmt=elf ;;
- vax-*-netbsdelf*) fmt=elf em=nbsd ;;
+ vax-*-netbsdelf* | vax-*-openbsd*) fmt=elf em=nbsd ;;
vax-*-linux-*) fmt=elf em=linux ;;
xscale-*-coff) fmt=coff ;;
eelf32ppcwindiss.o \
eelf32ppcvxworks.o \
eelf32vax.o \
+ eelf32vax_obsd.o \
eelf32xc16x.o \
eelf32xc16xl.o \
eelf32xc16xs.o \
eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
+eelf32vax_obsd.c: $(srcdir)/emulparams/elf32vax_obsd.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32vax_obsd "$(tdir_elf32vax_obsd)"
eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
$(srcdir)/emulparams/xtensa-config.sh $(srcdir)/emultempl/elf32.em \
$(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
eelf32ppcwindiss.o \
eelf32ppcvxworks.o \
eelf32vax.o \
+ eelf32vax_obsd.o \
eelf32xc16x.o \
eelf32xc16xl.o \
eelf32xc16xs.o \
eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
+eelf32vax_obsd.c: $(srcdir)/emulparams/elf32vax_obsd.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32vax_obsd "$(tdir_elf32vax_obsd)"
eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
$(srcdir)/emulparams/xtensa-config.sh $(srcdir)/emultempl/elf32.em \
$(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
vax-*-netbsdaout* | vax-*-netbsd*)
targ_emul=vaxnbsd
targ_extra_emuls=elf32vax ;;
+vax-*-openbsd*) targ_emul=elf32vax_obsd
+ targ_extra_emuls=vaxnbsd ;;
vax-*-linux-*) targ_emul=elf32vax
;;
w65-*-*) targ_emul=w65
--- /dev/null
+. ${srcdir}/emulparams/elf32vax.sh
+. ${srcdir}/emulparams/elf_obsd.sh