]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- stage 3...
authorPaweł Sikora <pluto@pld-linux.org>
Thu, 1 Apr 2004 16:29:49 +0000 (16:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils-gcc34.patch -> 1.3

elfutils-gcc34.patch

index 0a01f53ec59a6505c80ff5407d7ab16c4411ecf5..de192830b111e2de143423d3407477d60073ec53 100644 (file)
@@ -36,8 +36,8 @@
  
                      /* The algorithm specified in the ELF ABI is as
 --- elfutils-0.94/libelf/gelf_xlate.c.orig     2003-12-25 19:42:38.000000000 +0100
-+++ elfutils-0.94/libelf/gelf_xlate.c  2004-04-01 18:13:11.864643784 +0200
-@@ -67,25 +67,18 @@
++++ elfutils-0.94/libelf/gelf_xlate.c  2004-04-01 18:28:55.347212632 +0200
+@@ -67,20 +67,19 @@
  #define INLINE2(Bytes, FName, TName) \
    INLINE3 (Bytes, FName, TName)
  #define INLINE3(Bytes, FName, TName) \
 -          LEN##Bytes##_SWAP ((word##Bytes##_t *) ptr);                      \
 -        ((word##Bytes##_t *) ptr)++;                                        \
 -      }                                                                     \
-+          *dest++ = LEN##Bytes##_SWAP(ptr++);                               \
++      {                                                                             \
++      *dest++ = LEN##Bytes##_SWAP(ptr);                                     \
++        ++ptr;                                                                      \
++      }                                                                             \
      else                                                                    \
        {                                                                             \
 -      word##Bytes##_t *tdest = (word##Bytes##_t *) dest + n;                \
 +      word##Bytes##_t *tdest = dest + n;                                    \
 +      const word##Bytes##_t *tptr = ptr + n;                                \
        while (n-- > 0)                                                       \
--        {                                                                   \
--          --tptr;                                                           \
--          *--tdest = LEN##Bytes##_SWAP (tptr);                              \
--        }                                                                   \
-+          *--tdest = LEN##Bytes##_SWAP(--tptr);                             \
-       }                                                                             \
-  }                                                                          \
-                                                                             \
+         {                                                                   \
+           --tptr;                                                           \
This page took 0.197261 seconds and 4 git commands to generate.