This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH gas for AIX5 on IA-64


gas/configure: Regenerate
gas/configure.in: Add AIX configuration.
gas/config/tc-ia64.c: Use AIX BFD vecs when appropriate.
gas/config/te-ia64aix.h: New. AIX-specific configuration.


Index: gas/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.32
diff -d -c -p -b -w -r1.32 Makefile.am
*** Makefile.am	2001/02/18 23:33:00	1.32
--- Makefile.am	2001/02/20 21:53:39
*************** TARG_ENV_HFILES = \
*** 344,349 ****
--- 344,350 ----
  	config/te-hp300.h \
  	config/te-hppa.h \
  	config/te-i386aix.h \
+ 	config/te-ia64aix.h \
  	config/te-ic960.h \
  	config/te-linux.h \
  	config/te-lnews.h \
Index: gas/Makefile.in
===================================================================
RCS file: /cvs/src/src/gas/Makefile.in,v
retrieving revision 1.39
diff -d -c -p -b -w -r1.39 Makefile.in
*** Makefile.in	2001/02/18 23:33:01	1.39
--- Makefile.in	2001/02/20 21:53:41
*************** TARG_ENV_HFILES = \
*** 465,470 ****
--- 465,471 ----
  	config/te-hp300.h \
  	config/te-hppa.h \
  	config/te-i386aix.h \
+ 	config/te-ia64aix.h \
  	config/te-ic960.h \
  	config/te-linux.h \
  	config/te-lnews.h \
Index: gas/configure
===================================================================
RCS file: /cvs/src/src/gas/configure,v
retrieving revision 1.66
diff -d -c -p -b -w -r1.66 configure
*** configure	2001/02/19 06:40:29	1.66
--- configure	2001/02/20 21:53:45
*************** EOF
*** 2434,2439 ****
--- 2434,2440 ----
        i960-*-elf*)	    fmt=elf ;;
  
        ia64-*-elf*)	    fmt=elf ;;
+       ia64-*-aix*)          fmt=elf em=ia64aix ;;
        ia64-*-linux-gnu*)    fmt=elf em=linux ;;
        ia64-*-hpux*)	    fmt=elf em=hpux ;;
  
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.59
diff -d -c -p -b -w -r1.59 configure.in
*** configure.in	2001/02/19 06:40:29	1.59
--- configure.in	2001/02/20 21:53:45
*************** changequote([,])dnl
*** 291,296 ****
--- 291,297 ----
        i960-*-elf*)	    fmt=elf ;;
  
        ia64-*-elf*)	    fmt=elf ;;
+       ia64-*-aix*)	    fmt=elf em=ia64aix ;;
        ia64-*-linux-gnu*)    fmt=elf em=linux ;;
        ia64-*-hpux*)	    fmt=elf em=hpux ;;
  
Index: gas/config/tc-ia64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.c,v
retrieving revision 1.42
diff -d -c -p -b -w -r1.42 tc-ia64.c
*** tc-ia64.c	2001/02/14 01:46:10	1.42
--- tc-ia64.c	2001/02/20 21:53:51
*************** md_parse_option (c, arg)
*** 5931,5936 ****
--- 5931,5937 ----
       int c;
       char *arg;
  {
+ 
    switch (c)
      {
      /* Switches from the Intel assembler.  */
*************** ia64_target_format ()
*** 6350,6365 ****
--- 6351,6382 ----
        if (md.flags & EF_IA_64_BE)
  	{
  	  if (md.flags & EF_IA_64_ABI64)
+ #ifdef TE_AIX50
+ 	    return "elf64-ia64-aix-big";
+ #else
  	    return "elf64-ia64-big";
+ #endif
  	  else
+ #ifdef TE_AIX50
+ 	    return "elf32-ia64-aix-big";
+ #else
  	    return "elf32-ia64-big";
+ #endif
  	}
        else
  	{
  	  if (md.flags & EF_IA_64_ABI64)
+ #ifdef TE_AIX50
+ 	    return "elf64-ia64-aix-little";
+ #else
  	    return "elf64-ia64-little";
+ #endif
  	  else
+ #ifdef TE_AIX50
+ 	    return "elf32-ia64-aix-little";
+ #else
  	    return "elf32-ia64-little";
+ #endif
  	}
      }
    else
Index: gas/config/te-ia64aix.h
===================================================================
RCS file: te-ia64aix.h
diff -N te-ia64aix.h
*** /dev/null	Tue May  5 13:32:27 1998
--- te-ia64aix.h	Tue Feb 20 13:53:51 2001
***************
*** 0 ****
--- 1,4 ----
+ #define TE_AIX50
+ #define LOCAL_LABELS_FB 1
+ 
+ #include "obj-format.h"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]