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]
Other format: [Raw text]

Re: patch, ldemul_choose_target, AIX -b64 support


On Mon, Dec 03, 2001 at 12:06:29PM -0600, Tom Rix wrote:
>   char *
> ! ldemul_choose_target(argc, argv)

Space before open parenthesis.

> !       int argc;
> !       char **argv;
>   {
> !   return ld_emulation->choose_target(argc, argv);

Likewise.

>   }
>   
> + 
>   /* The default choose_target function.  */
>   
>   char *
> ! ldemul_default_target(argc, argv)

Likewise.

> + static char *
> + choose_target (argc, argv)
> +      int argc;
> +      char **argv;
> + {
> +   int i, j, jmax;
> +   static char *from_outside;
> +   static char *from_inside;
> +   static char *argv_to_target[][2] = 
> +     { 
> +       NULL,   "aixcoff-rs6000",
> + #ifdef _AIX43
> +       "-b32", "aixcoff-rs6000",
> +       "-b64", "aixcoff64-rs6000",
> + #endif
> +     };
> + 
> +   jmax = 1;
> + #ifdef _AIX43
> +   jmax = 3;
> + #endif

Why the #ifdefs here?  Think cross-tools.



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