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]

[patch] binutils patch for tic4x


Hi,

This is the binutils patch for tic4x.

It seems to me that this patch affectas all targets, please advice if
you dont want this included in all targets.

Note the author of this code is Michael Hayes, and I've assigned the
ChangeLog entries to him.


Svein


binutils/ChangeLog:
2002-08-27  Michael Hayes <m.hayes@elec.canterbury.ac.nz>

         * objdump.c (dump_bfd): Added printing of
           its printable name.
           (dump_bfd_header): Added printing of HAS_LOAD_PAGE flag.
           (dump_headers): Ditto.

Index: binutils/objdump.c
===================================================================
RCS file: /cvs/src/src/binutils/objdump.c,v
retrieving revision 1.55
diff -c -3 -p -r1.55 objdump.c
*** binutils/objdump.c	14 Aug 2002 15:12:07 -0000	1.55
--- binutils/objdump.c	27 Aug 2002 09:11:02 -0000
*************** dump_headers (abfd)
*** 369,374 ****
--- 369,376 ----
  
    if (wide_output)
      printf (_("  Flags"));
+   if(abfd->flags & HAS_LOAD_PAGE)
+     printf (_("  Pg"));
    printf ("\n");
  
    bfd_map_over_sections (abfd, dump_section_header, (PTR) NULL);
*************** dump_bfd_header (abfd)
*** 2007,2012 ****
--- 2009,2015 ----
    PF (WP_TEXT, "WP_TEXT");
    PF (D_PAGED, "D_PAGED");
    PF (BFD_IS_RELAXABLE, "BFD_IS_RELAXABLE");
+   PF (HAS_LOAD_PAGE, "HAS_LOAD_PAGE");
    printf (_("\nstart address 0x"));
    bfd_printf_vma (abfd, abfd->start_address);
    printf ("\n");
*************** dump_bfd (abfd)
*** 2039,2046 ****
  	}
      }
  
!   printf (_("\n%s:     file format %s\n"), bfd_get_filename (abfd),
! 	  abfd->xvec->name);
    if (dump_ar_hdrs)
      print_arelt_descr (stdout, abfd, true);
    if (dump_file_header)
--- 2042,2049 ----
  	}
      }
  
!   printf (_("\n%s:     file format %s (%s)\n"), bfd_get_filename (abfd),
!         abfd->xvec->name, abfd->arch_info->printable_name);
    if (dump_ar_hdrs)
      print_arelt_descr (stdout, abfd, true);
    if (dump_file_header)


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