mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
Minor formatting improvements.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
Wed Jul 1 16:29:50 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* objcopy.c: Minor formatting improvements.
|
||||
* readelf.c: Minor output formatting improvement.
|
||||
|
||||
Wed Jul 1 14:23:48 1998 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* rclex.l: Add casts and change types to avoid warnings.
|
||||
|
@ -27,6 +27,9 @@
|
||||
#include "budbg.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "elf/internal.h"
|
||||
#include "elf-bfd.h"
|
||||
|
||||
#ifdef HAVE_GOOD_UTIME_H
|
||||
#include <utime.h>
|
||||
#else /* ! HAVE_GOOD_UTIME_H */
|
||||
@ -648,10 +651,11 @@ copy_object (ibfd, obfd)
|
||||
|
||||
if (isympp)
|
||||
free (isympp);
|
||||
|
||||
if (osympp != isympp)
|
||||
free (osympp);
|
||||
|
||||
/* bfd mandates that all output sections be created and sizes set before
|
||||
/* BFD mandates that all output sections be created and sizes set before
|
||||
any output is done. Thus, we traverse all sections multiple times. */
|
||||
bfd_map_over_sections (ibfd, setup_section, (void *) obfd);
|
||||
|
||||
@ -902,6 +906,7 @@ copy_object (ibfd, obfd)
|
||||
now = 8192;
|
||||
else
|
||||
now = left;
|
||||
|
||||
if (! bfd_set_section_contents (obfd, osections[i], buf,
|
||||
off, now))
|
||||
RETURN_NONFATAL (bfd_get_filename (obfd));
|
||||
@ -1124,6 +1129,7 @@ setup_section (ibfd, isection, obfdarg)
|
||||
return;
|
||||
|
||||
osection = bfd_make_section_anyway (obfd, bfd_section_name (ibfd, isection));
|
||||
|
||||
if (osection == NULL)
|
||||
{
|
||||
err = "making";
|
||||
|
@ -1640,7 +1640,7 @@ process_section_headers (file)
|
||||
|
||||
printf (_("\nSection Header%s:\n"), elf_header.e_shnum > 1 ? "s" : "");
|
||||
printf
|
||||
(_(" [Nr] Name Type Addr Off Size ES Flg Lk In Al\n"));
|
||||
(_(" [Nr] Name Type Addr Off Size ES Flg Lk Inf Al\n"));
|
||||
|
||||
for (i = 0, section = section_headers;
|
||||
i < elf_header.e_shnum;
|
||||
|
Reference in New Issue
Block a user