reverse the order of relocs in mach-o gas output.
[deliverable/binutils-gdb.git] / gas / configure.com
index 611b142014df87f3457ded47c3eb44a1a5a2a692..0e10e073809bee456e84c23c079d0e98dd8dabf5 100644 (file)
@@ -9,12 +9,14 @@ $ arch=F$EDIT(arch,"LOWERCASE")
 $ if arch.eqs."alpha"
 $ then
 $   format = "evax"
+$   env = "generic"
 $   target_alias = "alpha-dec-openvms"
 $   target_canonical = "alpha-dec-openvms"
 $ endif
 $ if arch.eqs."ia64"
 $ then
 $   format = "elf"
+$   env = "vms"
 $   target_alias = "ia64-openvms"
 $   target_canonical = "ia64-unknown-openvms"
 $ endif
@@ -33,8 +35,9 @@ $ close outfile
 $!
 $ write sys$output "Generate targ-env.h"
 $!
-$ create targ-env.h
-#include "te-generic.h"
+$ open/write outfile targ-env.h
+$ write outfile "#include ""te-''env'.h"""
+$ close outfile
 $!
 $ write sys$output "Generate obj-format.[ch]"
 $!
@@ -219,7 +222,24 @@ $ LIBBFD = ",[-.bfd]libbfd.olb/lib"
 $ LIBIBERTY = ",[-.libiberty]libiberty.olb/lib"
 $ LIBOPCODES = ",[-.opcodes]libopcodes.olb/lib"
 $!
+$ AS_OBJS="targ-cpu," + FILES 
+$!
 $ write sys$output "CFLAGS=",CFLAGS
+$!
+$EOD
+$!
+$ if arch.eqs."ia64"
+$ then
+$   open/append outfile build.com
+$   write outfile "$ write sys$output ""Compiling te-vms.c"""
+$   write outfile "$ cc 'CFLAGS /obj=te-vms.obj [.config]te-vms.c + " +-
+      "sys$library:sys$lib_c.tlb/lib"
+$   write outfile "$ AS_OBJS=AS_OBJS + "",te-vms.obj"""
+$   close outfile
+$ endif
+$!
+$ append sys$input build.com
+$DECK
 $ if p1.nes."LINK"
 $ then
 $   write sys$output "Compiling targ-cpu.c (/noopt)"
@@ -237,7 +257,8 @@ $ endif
 $ purge
 $!
 $ write sys$output "Building as.exe"
-$ AS_OBJS="targ-cpu," + FILES + LIBOPCODES +  LIBBFD +  LIBIBERTY
+$ AS_OBJS=AS_OBJS + LIBOPCODES +  LIBBFD +  LIBIBERTY
 $ link/exe=as 'AS_OBJS
+$EOD
 $exit
 
This page took 0.023553 seconds and 4 git commands to generate.