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] print additional mips elf 64 reloc type info in readelf


Hi Timothy,

  The patch is basically OK.  Just a couple of minor points:

> +      if (is_rela)
> + printf
> +   (_("    Offset             Info            Type               Type2              Type3              Symbol's Value   Symbol's Name           Addend\n"));

By default, readelf tries to limit its output width to 80 characters
(unless the --wide command line option has been given).  It would be
good if you could reformat the information display to fit in with this
philosophy.

> +   if (!is_32bit_elf) {
> +     rtype2 = elf_mips_reloc_type (type2);
> +     rtype3 = elf_mips_reloc_type (type3);
> +   }

Formatting - opening brace on a line of its own.

Cheers
        Nick


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