public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Brad Lucier <lucier@math.purdue.edu>
To: lucier@math.purdue.edu, hjl@valinux.com
Cc: binutils@sourceware.cygnus.com, hosking@cs.purdue.edu,
	staff@math.purdue.edu
Subject: Re: Please install 64bit patches.
Date: Mon, 18 Oct 1999 11:59:00 -0000	[thread overview]
Message-ID: <199910181859.NAA05404@polya.math.purdue.edu> (raw)

> 
> 1. You didn't have a complete pathname for your patch.
> 
> # patch -p0 < ...
> 
> doesn't work.
> 
> 2. Even when I put in the filename by hand, all of your patches are
> rejected. It seems that your mailer replaces all the TABs with spaces.
> 
> Please generate a new patch and uuencode it this time.
> 
OK, I guess it's time for me to learn how to make a proper patch file.

Try this:

diff -rc binutils-2.9.5.0.16/binutils/readelf.c my-binutils/binutils/readelf.c
*** binutils-2.9.5.0.16/binutils/readelf.c	Sun Oct 10 14:22:23 1999
--- my-binutils/binutils/readelf.c	Sun Oct 17 14:42:40 1999
***************
*** 3482,3488 ****
  
  				  nn += printf ("(%s%-*s",
  						strtab + ivna.vna_name,
! 						12 - strlen (strtab
  							     + ivna.vna_name),
  						")");
  				  break;
--- 3482,3488 ----
  
  				  nn += printf ("(%s%-*s",
  						strtab + ivna.vna_name,
! 						12 - (int)strlen (strtab
  							     + ivna.vna_name),
  						")");
  				  break;
***************
*** 3530,3536 ****
  					    printf ("(%s%-*s",
  						    strtab + ivda.vda_name,
  						    12
! 						    - strlen (strtab
  							      + ivda.vda_name),
  						    ")");
  					}
--- 3530,3536 ----
  					    printf ("(%s%-*s",
  						    strtab + ivda.vda_name,
  						    12
! 						    - (int) strlen (strtab
  							      + ivda.vda_name),
  						    ")");
  					}
***************
*** 3584,3590 ****
  
  				  nn += printf ("(%s%-*s",
  						strtab + ivna.vna_name,
! 						12 - strlen (strtab
  							     + ivna.vna_name),
  						")");
  				  break;
--- 3584,3590 ----
  
  				  nn += printf ("(%s%-*s",
  						strtab + ivna.vna_name,
! 						12 - (int) strlen (strtab
  							     + ivna.vna_name),
  						")");
  				  break;
***************
*** 3629,3635 ****
  
  			      nn += printf ("(%s%-*s",
  					    strtab + ivda.vda_name,
! 					    12 - strlen (strtab
  							 + ivda.vda_name),
  					    ")");
  			    }
--- 3629,3635 ----
  
  			      nn += printf ("(%s%-*s",
  					    strtab + ivda.vda_name,
! 					    12 - (int) strlen (strtab
  							 + ivda.vda_name),
  					    ")");
  			    }
***************
*** 6274,6280 ****
        GET_DATA_ALLOC (liblist_offset, liblistno * sizeof (Elf32_External_Lib),
  		      elib, Elf32_External_Lib *, "liblist");
  
!       printf ("\nSection '.liblist' contains %d entries:\n", liblistno);
        fputs ("     Library              Time Stamp          Checksum   Version Flags\n",
  	     stdout);
  
--- 6274,6280 ----
        GET_DATA_ALLOC (liblist_offset, liblistno * sizeof (Elf32_External_Lib),
  		      elib, Elf32_External_Lib *, "liblist");
  
!       printf ("\nSection '.liblist' contains %d entries:\n", (int) liblistno);
        fputs ("     Library              Time Stamp          Checksum   Version Flags\n",
  	     stdout);
  
***************
*** 6292,6298 ****
  
  	  strftime (timebuf, 20, "%Y-%m-%dT%H:%M:%S", gmtime (&time));
  
! 	  printf ("%3d: %-20s %s %#10lx %-7ld", cnt,
  		  dynamic_strings + liblist.l_name, timebuf,
  		  liblist.l_checksum, liblist.l_version);
  
--- 6292,6298 ----
  
  	  strftime (timebuf, 20, "%Y-%m-%dT%H:%M:%S", gmtime (&time));
  
! 	  printf ("%3d: %-20s %s %#10lx %-7ld", (int) cnt,
  		  dynamic_strings + liblist.l_name, timebuf,
  		  liblist.l_checksum, liblist.l_version);
  
***************
*** 6573,6579 ****
  	  Elf_Internal_Sym * psym = &dynamic_symbols[iconf[cnt]];
  
  	  printf ("%5u: %8lu  %#10lx  %s\n",
! 		  cnt, iconf[cnt], (unsigned long) psym->st_value,
  		  dynamic_strings + psym->st_name);
  	}
  
--- 6573,6579 ----
  	  Elf_Internal_Sym * psym = &dynamic_symbols[iconf[cnt]];
  
  	  printf ("%5u: %8lu  %#10lx  %s\n",
! 		  (unsigned int) cnt, iconf[cnt], (unsigned long) psym->st_value,
  		  dynamic_strings + psym->st_name);
  	}
  
diff -rc binutils-2.9.5.0.16/gas/dwarf2dbg.c my-binutils/gas/dwarf2dbg.c
*** binutils-2.9.5.0.16/gas/dwarf2dbg.c	Fri Aug 27 14:23:35 1999
--- my-binutils/gas/dwarf2dbg.c	Sun Oct 17 14:20:18 1999
***************
*** 639,645 ****
        j = SPECIAL_LINE (i);
        if (j == DWARF2_LINE_BASE)
  	fprintf (stderr, "\n%4u: ",
! 		 DWARF2_LINE_MIN_INSN_LENGTH*SPECIAL_ADDR (i));
        fprintf (stderr, " %2u", ls.opcode_hist[i]);
      }
    fprintf (stderr, "\n");
--- 639,645 ----
        j = SPECIAL_LINE (i);
        if (j == DWARF2_LINE_BASE)
  	fprintf (stderr, "\n%4u: ",
! 		 (unsigned int)(DWARF2_LINE_MIN_INSN_LENGTH*SPECIAL_ADDR (i)));
        fprintf (stderr, " %2u", ls.opcode_hist[i]);
      }
    fprintf (stderr, "\n");
diff -rc binutils-2.9.5.0.16/gprof/i386.c my-binutils/gprof/i386.c
*** binutils-2.9.5.0.16/gprof/i386.c	Fri Jul  9 10:21:27 1999
--- my-binutils/gprof/i386.c	Sun Oct 17 14:23:02 1999
***************
*** 67,73 ****
        if (i386_iscall (instructp))
  	{
  	  DBG (CALLDEBUG,
! 	       printf ("[findcall]\t0x%x:call",
  		       instructp - (unsigned char *) delta));
  	  /*
  	   *  regular pc relative addressing
--- 67,73 ----
        if (i386_iscall (instructp))
  	{
  	  DBG (CALLDEBUG,
! 	       printf ("[findcall]\t0x%lx:call",
  		       instructp - (unsigned char *) delta));
  	  /*
  	   *  regular pc relative addressing
diff -rc binutils-2.9.5.0.16/gprof/tahoe.c my-binutils/gprof/tahoe.c
*** binutils-2.9.5.0.16/gprof/tahoe.c	Fri Jul  9 10:21:27 1999
--- my-binutils/gprof/tahoe.c	Sun Oct 17 14:24:23 1999
***************
*** 260,266 ****
  	   *    maybe a callf, better check it out.
  	   *      skip the count of the number of arguments.
  	   */
! 	  DBG (CALLDEBUG, printf ("[findcall]\t0x%x:callf",
  				  instructp - (unsigned char *) core_text_space));
  	  firstmode = tahoe_operandmode (instructp + length);
  	  switch (firstmode)
--- 260,266 ----
  	   *    maybe a callf, better check it out.
  	   *      skip the count of the number of arguments.
  	   */
! 	  DBG (CALLDEBUG, printf ("[findcall]\t0x%lx:callf",
  				  instructp - (unsigned char *) core_text_space));
  	  firstmode = tahoe_operandmode (instructp + length);
  	  switch (firstmode)
diff -rc binutils-2.9.5.0.16/gprof/vax.c my-binutils/gprof/vax.c
*** binutils-2.9.5.0.16/gprof/vax.c	Fri Jul  9 10:21:27 1999
--- my-binutils/gprof/vax.c	Sun Oct 17 14:23:40 1999
***************
*** 264,270 ****
  	   *      skip the count of the number of arguments.
  	   */
  	  DBG (CALLDEBUG,
! 	       printf ("[findcall]\t0x%x:calls",
  		       instructp - (unsigned char *) core_text_space));
  	  firstmode = vax_operandmode ((struct modebyte *) (instructp + length));
  	  switch (firstmode)
--- 264,270 ----
  	   *      skip the count of the number of arguments.
  	   */
  	  DBG (CALLDEBUG,
! 	       printf ("[findcall]\t0x%lx:calls",
  		       instructp - (unsigned char *) core_text_space));
  	  firstmode = vax_operandmode ((struct modebyte *) (instructp + length));
  	  switch (firstmode)

             reply	other threads:[~1999-10-18 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-18 11:59 Brad Lucier [this message]
1999-10-18 12:28 ` H . J . Lu
  -- strict thread matches above, loose matches on Subject: below --
1999-10-17 13:00 Brad Lucier
1999-10-18  7:52 ` H . J . Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199910181859.NAA05404@polya.math.purdue.edu \
    --to=lucier@math.purdue.edu \
    --cc=binutils@sourceware.cygnus.com \
    --cc=hjl@valinux.com \
    --cc=hosking@cs.purdue.edu \
    --cc=staff@math.purdue.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).