1 |
#if ENABLE_FEATURE_AIX_LABEL |
#if ENABLE_FEATURE_AIX_LABEL |
2 |
/* |
/* |
3 |
* Copyright (C) Andreas Neuper, Sep 1998. |
* Copyright (C) Andreas Neuper, Sep 1998. |
4 |
* This file may be redistributed under |
* |
5 |
* the terms of the GNU Public License. |
* Licensed under GPLv2, see file LICENSE in this tarball for details. |
6 |
*/ |
*/ |
7 |
|
|
8 |
typedef struct { |
typedef struct { |
54 |
static int |
static int |
55 |
check_aix_label(void) |
check_aix_label(void) |
56 |
{ |
{ |
57 |
if (aixlabel->magic != AIX_LABEL_MAGIC && |
if (aixlabel->magic != AIX_LABEL_MAGIC |
58 |
aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED) { |
&& aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED |
59 |
|
) { |
60 |
current_label_type = 0; |
current_label_type = 0; |
61 |
aix_other_endian = 0; |
aix_other_endian = 0; |
62 |
return 0; |
return 0; |