X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Flibaout.h;h=0702ed371328bd1e61d0bfe19228b822e9b101b6;hb=e46d79a76ea748165a3ecd1102dd10498d089a49;hp=c7d787dc7d28f69e5510b52529bc9b71cd303a0c;hpb=d00dd7dc5e415503de88614bf2ea4aafa2bca819;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/libaout.h b/bfd/libaout.h index c7d787dc7d..0702ed3713 100644 --- a/bfd/libaout.h +++ b/bfd/libaout.h @@ -1,5 +1,5 @@ /* BFD back-end data structures for a.out (and similar) files. - Copyright (C) 1990-2018 Free Software Foundation, Inc. + Copyright (C) 1990-2019 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -309,7 +309,7 @@ enum machine_type # define N_SET_INFO(execp, magic, type, flags) \ ((execp)->a_info = ((magic) & 0xffff) \ | (((int)(type) & 0xff) << 16) \ - | (((flags) & 0xff) << 24)) + | (((flags) & 0xffu) << 24)) #endif #ifndef N_SET_DYNAMIC @@ -332,7 +332,7 @@ enum machine_type #ifndef N_SET_FLAGS # define N_SET_FLAGS(execp, flags) \ ((execp)->a_info = \ - ((execp)->a_info & 0x00ffffff) | (((flags) & 0xff) << 24)) + ((execp)->a_info & 0x00ffffff) | (((flags) & 0xffu) << 24)) #endif typedef struct aout_symbol @@ -349,7 +349,7 @@ typedef struct aout_symbol enum aout_subformat { default_format = 0, - /* Used on HP 9000/300 running HP/UX. See hp300hpux.c. */ + /* Used on HP 9000/300 running HP/UX. */ gnu_encap_format, /* Used on Linux, 386BSD, etc. See include/aout/aout64.h. */ q_magic_format