~ubuntu-branches/debian/sid/upx-ucl/sid

« back to all changes in this revision

Viewing changes to src/p_elf.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-09-20 21:34:57 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090920213457-x95n0rq823lx12sw
Tags: 3.03-3
* Upload to unstable.
* Standards-Version: 3.8.3 (no changes).
* Build with debhelper v7.
* rules: call dh_prep instead of `dh_clean -k'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
   This file is part of the UPX executable compressor.
4
4
 
5
 
   Copyright (C) 1996-2007 Markus Franz Xaver Johannes Oberhumer
6
 
   Copyright (C) 1996-2007 Laszlo Molnar
 
5
   Copyright (C) 1996-2008 Markus Franz Xaver Johannes Oberhumer
 
6
   Copyright (C) 1996-2008 Laszlo Molnar
7
7
   All Rights Reserved.
8
8
 
9
9
   UPX and the UCL library are free software; you can redistribute them
21
21
   If not, write to the Free Software Foundation, Inc.,
22
22
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
23
 
24
 
   Markus F.X.J. Oberhumer   Laszlo Molnar
25
 
   markus@oberhumer.com      ml1050@users.sourceforge.net
 
24
   Markus F.X.J. Oberhumer              Laszlo Molnar
 
25
   <markus@oberhumer.com>               <ml1050@users.sourceforge.net>
26
26
 */
27
27
 
28
28
 
284
284
{
285
285
    typedef TP BeLePolicy;
286
286
 
287
 
    // integral types
288
 
    typedef typename TP::U16 U16;
289
 
    typedef typename TP::U32 U32;
290
 
    typedef typename TP::U64 U64;
291
 
    typedef N_Elf::ElfITypes<U16, U32, U32, U32, U32> ElfITypes;
 
287
    // integral types (target endianness)
 
288
    typedef typename TP::U16 TE16;
 
289
    typedef typename TP::U32 TE32;
 
290
    typedef typename TP::U64 TE64;
 
291
    typedef N_Elf::ElfITypes<TE16, TE32, TE32, TE32, TE32> ElfITypes;
292
292
 
293
293
    // ELF types
294
294
    typedef N_Elf  ::Ehdr<ElfITypes> Ehdr;
319
319
{
320
320
    typedef TP BeLePolicy;
321
321
 
322
 
    // integral types
323
 
    typedef typename TP::U16 U16;
324
 
    typedef typename TP::U32 U32;
325
 
    typedef typename TP::U64 U64;
326
 
    typedef N_Elf::ElfITypes<U16, U32, U64, U64, U64> ElfITypes;
 
322
    // integral types (target endianness)
 
323
    typedef typename TP::U16 TE16;
 
324
    typedef typename TP::U32 TE32;
 
325
    typedef typename TP::U64 TE64;
 
326
    typedef N_Elf::ElfITypes<TE16, TE32, TE64, TE64, TE64> ElfITypes;
327
327
 
328
328
    // ELF types
329
329
    typedef N_Elf  ::Ehdr<ElfITypes> Ehdr;