Magellan Linux

Annotation of /trunk/elfutils/patches/elfutils-0.101-bswap.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years, 1 month ago) by niro
File size: 849 byte(s)
-import

1 niro 144 --- libelf/common.h.~1.3.~ 2005-02-15 14:23:41.000000000 -0800
2     +++ libelf/common.h 2005-02-15 14:52:48.706163944 -0800
3     @@ -122,7 +122,7 @@ libelf_release_all (Elf *elf)
4     (Var) = (sizeof (Var) == 1 \
5     ? (unsigned char) (Var) \
6     : (sizeof (Var) == 2 \
7     - ? bswap_16 (Var) \
8     + ? (unsigned short int) bswap_16 (Var) \
9     : (sizeof (Var) == 4 \
10     ? bswap_32 (Var) \
11     : bswap_64 (Var))))
12     @@ -131,7 +131,7 @@ libelf_release_all (Elf *elf)
13     (Dst) = (sizeof (Var) == 1 \
14     ? (unsigned char) (Var) \
15     : (sizeof (Var) == 2 \
16     - ? bswap_16 (Var) \
17     + ? (unsigned short int) bswap_16 (Var) \
18     : (sizeof (Var) == 4 \
19     ? bswap_32 (Var) \
20     : bswap_64 (Var))))