This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix arm/dl-machine.h



I've committed the appended patch,
Andreas

Index: sysdeps/arm/dl-machine.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/arm/dl-machine.h,v
retrieving revision 1.33
diff -u -p -r1.33 dl-machine.h
--- dl-machine.h	2001/12/12 00:11:47	1.33
+++ dl-machine.h	2001/12/12 09:01:11
@@ -566,7 +566,7 @@ elf_machine_rela (struct link_map *map, 
 	     if (topbits != 0xfe000000 && topbits != 0x00000000)
 	       {
 		 newvalue = fix_bad_pc24(reloc_addr, value)
-		   - (Elf32_Addr)reloc_addr + (addend << 2);
+		   - (Elf32_Addr)reloc_addr + (reloc->r_addend << 2);
 		 topbits = newvalue & 0xfe000000;
 		 if (topbits != 0xfe000000 && topbits != 0x00000000)
 		   {

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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