1 |
/* MMIX support for BFD. |
/* MMIX support for BFD. |
2 |
Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
Copyright 2001, 2002, 2003 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of BFD, the Binary File Descriptor library. |
This file is part of BFD, the Binary File Descriptor library. |
5 |
|
|
23 |
|
|
24 |
#include "elf/reloc-macros.h" |
#include "elf/reloc-macros.h" |
25 |
|
|
26 |
/* Relocations. */ |
/* Relocations. See the reloc table in bfd/elf64-mmix.c for details. */ |
27 |
START_RELOC_NUMBERS (elf_mmix_reloc_type) |
START_RELOC_NUMBERS (elf_mmix_reloc_type) |
28 |
RELOC_NUMBER (R_MMIX_NONE, 0) |
RELOC_NUMBER (R_MMIX_NONE, 0) |
29 |
|
|
90 |
|
|
91 |
/* A LOCAL assertion. */ |
/* A LOCAL assertion. */ |
92 |
RELOC_NUMBER (R_MMIX_LOCAL, 35) |
RELOC_NUMBER (R_MMIX_LOCAL, 35) |
93 |
|
|
94 |
|
/* A PUSHJ instruction, generating a stub if it does not reach. */ |
95 |
|
RELOC_NUMBER (R_MMIX_PUSHJ_STUBBABLE, 36) |
96 |
END_RELOC_NUMBERS (R_MMIX_max) |
END_RELOC_NUMBERS (R_MMIX_max) |
97 |
|
|
98 |
|
|
160 |
#define MMO_SEC_DEBUGGING 0x10000 |
#define MMO_SEC_DEBUGGING 0x10000 |
161 |
|
|
162 |
#ifdef BFD_ARCH_SIZE |
#ifdef BFD_ARCH_SIZE |
163 |
extern boolean _bfd_mmix_prepare_linker_allocated_gregs |
extern bfd_boolean _bfd_mmix_before_linker_allocation |
164 |
PARAMS ((bfd *, struct bfd_link_info *)); |
(bfd *, struct bfd_link_info *); |
165 |
extern boolean _bfd_mmix_finalize_linker_allocated_gregs |
extern bfd_boolean _bfd_mmix_after_linker_allocation |
166 |
PARAMS ((bfd *, struct bfd_link_info *)); |
(bfd *, struct bfd_link_info *); |
167 |
extern boolean _bfd_mmix_check_all_relocs |
extern bfd_boolean _bfd_mmix_check_all_relocs |
168 |
PARAMS ((bfd *, struct bfd_link_info *)); |
(bfd *, struct bfd_link_info *); |
169 |
#endif |
#endif |
170 |
|
|
171 |
#endif /* ELF_MMIX_H */ |
#endif /* ELF_MMIX_H */ |