This is the mail archive of the binutils@sourceware.cygnus.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]

Re: Please install 64bit patches.


> 
> 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)

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