diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-08-14 20:13:39 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-08-14 20:13:39 +0000 |
commit | c43c2cc5fab9b4e50144fd1a7dce611a7ccc1c6a (patch) | |
tree | ff25a461a5f91e955243c0dd54d30cda47c1ea3a /include/elf | |
parent | db4f6831161cdf3627169e82344b82b1c6813ef1 (diff) | |
download | gdb-c43c2cc5fab9b4e50144fd1a7dce611a7ccc1c6a.zip gdb-c43c2cc5fab9b4e50144fd1a7dce611a7ccc1c6a.tar.gz gdb-c43c2cc5fab9b4e50144fd1a7dce611a7ccc1c6a.tar.bz2 |
Add support for IA-64 specific elf header flags.
bfd/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
(elf64_ia64_print_private_bfd_data): Likewise. Also handle
EF_IA_64_ABSOLUTE.
gas/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
(md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
(md_begin): Change assignment to md.flag to OR in the new bit.
include/elf/
2000-08-14 Jim Wilson <wilson@cygnus.com>
* elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 5 | ||||
-rw-r--r-- | include/elf/ia64.h | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 84ac1b1..b1f69f6 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2000-08-14 Jim Wilson <wilson@cygnus.com> + + * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, + EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define. + 2000-08-07 Nick Clifton <nickc@cygnus.com> * ppc.h: Remove spurious CYGNUS LOCAL comments. diff --git a/include/elf/ia64.h b/include/elf/ia64.h index 15847c8..bd7dae5 100644 --- a/include/elf/ia64.h +++ b/include/elf/ia64.h @@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Bits in the e_flags field of the Elf64_Ehdr: */ #define EF_IA_64_MASKOS 0x0000000f /* os-specific flags */ -#define EF_IA_64_ABI64 (1 << 4) /* 64-bit ABI */ #define EF_IA_64_ARCH 0xff000000 /* arch. version mask */ /* ??? These four definitions are not part of the SVR4 ABI. @@ -36,6 +35,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define EF_IA_64_BE (1 << 3) /* PSR BE bit set (big-endian) */ #define EFA_IA_64_EAS2_3 0x23000000 /* ia64 EAS 2.3 */ +#define EF_IA_64_ABI64 (1 << 4) /* 64-bit ABI */ +/* Not used yet. */ +#define EF_IA_64_REDUCEDFP (1 << 5) /* Only FP6-FP11 used. */ +#define EF_IA_64_CONS_GP (1 << 6) /* gp as program wide constant. */ +#define EF_IA_64_NOFUNCDESC_CONS_GP (1 << 7) /* And no function descriptors. */ +/* Not used yet. */ +#define EF_IA_64_ABSOLUTE (1 << 8) /* Load at absolute addresses. */ + #define ELF_STRING_ia64_archext ".IA_64.archext" #define ELF_STRING_ia64_pltoff ".IA_64.pltoff" #define ELF_STRING_ia64_unwind ".IA_64.unwind" |