3 * ppc.h (DT_PPC64_OPD, DT_PPC64_OPDSZ): Define.
7 * alpha.h (R_ALPHA_BRSGP): New.
13 * sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
14 R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
15 R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
16 R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
17 R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
18 R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
19 R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
20 R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8,
21 R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64,
22 R_SH_RELATIVE64): New relocs.
23 (R_SH_FIRST_INVALID_RELOC_4): Adjust.
25 * sh.h: Renumbered and renamed some SH5 relocations to match
26 official numbers and names; moved unmaching ones to the range
29 * sh.h (sh64_get_contents_type): Declare.
30 (sh64_address_is_shmedia): Likewise.
32 * sh.h (sh64_elf_crange): New type.
33 (struct sh64_section_data): New.
34 (sh64_elf_section_data): New macro.
35 (EF_SH5): Rename back from EF_SH64.
37 * sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED,
38 SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE,
39 SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET,
40 SH64_CRANGE_CR_TYPE_OFFSET): New macros.
42 * sh.h (EF_SH64): Don't define EF_SH64_ABI64.
44 * sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete.
47 * sh.h (EF_SH64): Rename from EF_SH5.
48 (EF_SH64_32BIT_ABI): New.
49 (EF_SH64_64BIT_ABI): New.
50 (R_SH_PT_16, R_SH_SHMEDIA_CODE
51 R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
52 R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
53 R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
54 R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
55 R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New
58 * sh.h (EF_SH5): Define.
62 * mmix.h: Tweak comments.
63 (MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New.
64 [BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs,
65 _bfd_mmix_finalize_linker_allocated_gregs,
66 _bfd_mmix_check_all_relocs): Provide prototypes.
71 * common.h: Add support for or32 targets.
75 * dwarf2.h: Sync with gcc version.
79 * ppc.h (DT_PPC64_GLINK): Define.
83 * arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
87 * common.h: Update copyright years.
88 (NT_NETBSDCORE_PROCINFO): Define.
89 (NT_NETBSDCORE_FIRSTMACH): Define.
93 * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
94 (SHT_IA_64_HP_OPT_ANOT): Ditto
95 (PT_IA_64_HP_OPT_ANOT): Ditto
96 (PT_IA_64_HP_HSL_ANOT): Ditto
97 (PT_IA_64_HP_STACK): Ditto
98 (SHN_IA_64_ANSI_COMMON): Ditto
102 * external.h (Elf_External_Sym_Shndx): Declare.
103 * internal.h (struct elf_internal_sym <st_shndx>): Make it an
105 * common.h (SHN_BAD): Define.
109 * elf/common.h (PT_GNU_EH_FRAME): Define.
113 * common.h (SHN_XINDEX): Comment typo fix.
114 * internal.h (Elf_Internal_Ehdr): Change existing "unsigned short"
115 size, count and index fields to "unsigned int".
120 * common.h (EM_XSTORMY16): Define.
121 * xstormy16.h: New file.
125 * common.h (NT_ARCH): Define. Remove incorrect comment.
129 * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
137 * internal.h: White space changes to keep lines under 80 chars.
141 * internal.h (elf_internal_shdr): Make contents a unsigned char *.
145 * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
149 * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
153 * common.h (EM_AVR_OLD): Renamed from...
154 (EM_AVR): this, redefined as in the current ELF standard.
155 (EM_PJ_OLD): Renamed from...
156 (EM_PJ): this, redefined as in the current ELF standard.
157 (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300,
158 EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in
159 the current ELF standard.
160 (EM_CYGNUS_ARC): Removed, unused for a long time.
164 * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
165 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
169 * mips.h: Remove E_MIPS_MACH_MIPS32_4K.
173 * h8.h (EF_H8_MACH): New mask for encoded machine type.
174 (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
183 * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.
187 * dwarf2.h: Remerge with gcc version,
188 including all new DWARF 2.1 extensions.
192 * dwarf2.h: Add DWARF 2.1 attribues.
196 * dwarf2.h: Partial merge with gcc version.
197 (enum dwarf_descrim_list): Fix typo -> dwarf_discrim_list.
198 (DW_LANG_Java): Use value from dwarf 2.1 draft (also used in gcc).
202 * common.h: Remove definition of EM_MIPS_RS4_BE. The constant was
203 never in active use and is used otherwise by the ABI.
207 * ia64.h (ELF_STRING_ia64_unwind_once): Define.
208 (ELF_STRING_ia64_unwind_info_once): Define.
212 * external.h: Fix typo.
213 * mips.h: Add/Extend many comments with reference to the MIPS ELF64
214 spec v. 2.4, available at e.g.
215 ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
216 (EF_MIPS_UCODE): Define.
217 (EF_MIPS_OPTIONS_FIRST): Define.
218 (EF_MIPS_ARCH_ASE): Define.
219 (EF_MIPS_ARCH_ASE_MDMX): Define.
220 (EF_MIPS_ARCH_ASE_M16): Define.
221 (SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
222 (SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
223 (SHF_MIPS_NODUPES): Define.
224 (ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
225 (ELF64_MIPS_R_TYPE3): Likewise.
226 (ELF64_MIPS_R_TYPE2): Likewise.
227 (ELF64_MIPS_R_TYPE): Likewise.
228 (OHW_R10KLDL): Define.
236 * openrisc.h: New file.
237 * common.h (EM_OPENRISC): New constant.
241 * x86-64.h: Add vtable support.
245 * mips.h: Remove extraneous whitespace.
249 * cris.h: Add leading comment about PC-relative location.
250 (R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
251 R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
252 R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
257 * arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
258 (EF_PIC, et al.): Rename to EF_ARM_xx.
262 * common.h: Add linux target for S/390.
267 * arc.h (E_ARC_MACH_ARC5, E_ARC_MACH_ARC6, E_ARC_MACH_ARC7,
268 E_ARC_MACH_ARC8): New definitions for cpu types.
270 * common.h (EM_ARC): Change comment.
274 * mips.h: Fix formatting.
278 * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
283 * mips.h (E_MIPS_ARCH_32): New constant.
284 (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the
285 former with the latter.
287 * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions.
289 * mips.h (E_MIPS_MACH_SB1): New constant.
293 * common.h (EM_X86_64): New macro.
294 * x86-64.h: New file.
298 * common.h (e_machine numbers): Clarify comments to describe how
299 EM_* constants are assigned. Move EM_PJ from official section to
301 (EM_CRIS): Correct comment to match official description.
306 * common.h (EM_JAVELIN): New machine number.
307 (EM_FIREPATH): New machine number.
308 (EM_ZSP): New machine number.
309 (EM_MMIX): New machine number.
310 (EM_HUANY): New machine number.
311 (EM_PRISM): New machine number.
312 (SHT_GROUP): New section type.
313 (SHT_SYMTAB_SHNDX): New section type.
314 (SHF_GROUP): New section flag.
315 (SHN_XINDEX): New section index.
316 (GRP_COMDAT): New section group flag.
320 * common.h (ELFOSABI_MONTEREY): Renamed to ...
321 (ELFOSABI_AIX): This.
325 Update relocations per August psABI docs.
326 * ia64.h (R_IA64_SEGBASE): Remove.
327 (R_IA64_LTV*): Renumber to 0x74 to 0x77.
328 (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
329 (R_IA64_TPREL14, R_IA64_TPREL64I): New.
330 (R_IA64_DTPMOD*): New.
331 (R_IA64_DTPREL*): New.
335 * cris.h (EF_CRIS_UNDERSCORE): New.
339 * hppa.h (R_PARISC_DIR14F): Add.
343 * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
344 R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change
345 numbers to the range from 160 to 167.
346 (R_SH_FIRST_INVALID_RELOC): Adjust.
347 (R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2):
348 New relocs to fill in the gap.
352 * mips.h (E_MIPS_MACH_4K): New define.
356 * hppa.h: Fix a comment.
357 (R_PARISC_PCREL12F): Define.
358 (R_PARISC_GNU_VTENTRY): Define.
359 (R_PARISC_GNU_VTINHERIT): Define.
363 * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
364 R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs.
365 (R_SH_FIRST_INVALID_RELOC): Adjust.
369 * ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
370 EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
374 * ppc.h: Remove spurious CYGNUS LOCAL comments.
380 (elf_i860_reloc_type): Defined ELF32 i860 relocations.
384 common.h (EM_CRIS): New machine number.
389 * common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.
393 * common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
394 (DTF_1_CONFEXP): It is 0x00000002 as suspected.
398 * common.h (DT_FEATURE): Renamed from DT_FEATURE_1.
399 (DT_CONFIG): New. From Solaris 8.
400 (DT_DEPAUDIT): Likewise.
401 (DT_AUDIT): Likewise.
402 (DT_PLTPAD): Likewise.
403 (DT_MOVETAB): Likewise.
404 (DF_1_NODEPLIB): Likewise.
405 (DF_1_NODUMP): Likewise.
406 (DF_1_CONLFAT): Likewise.
407 (DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8.
408 (DTF_1_CONFEXP): Likewise.
412 * common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.
416 * internal.h (struct elf_internal_sym): Update comment for st_other.
420 * hppa.h: Add comments to all the relocs.
424 * avr.h (E_AVR_MACH_AVR5): Define.
428 * m68hc11.h: New file, definitions for the Motorola 68hc11.
432 * reloc-macros.h (START_RELOC_NUMBERS): Don't define initial dummy
434 (RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC): Append rather than
436 (END_RELOC_NUMBERS): Give macro an arg to define as last enum.
438 * alpha.h (R_ALPHA_max): Define via END_RELOC_NUMBERS rather than
440 * arc.h (R_ARC_max): Likewise.
441 * avr.h (R_AVR_max): Likewise.
442 * fr30.h (R_FR30_max): Likewise.
443 * hppa.h (R_PARISC_UNIMPLEMENTED): Likewise.
444 * i960.h (R_960_max): Likewise.
445 * m32r.h (R_M32R_max): Likewise.
446 * m68k.h (R_68K_max): Likewise.
447 * mcore.h (R_MCORE_max): Likewise.
448 * mn10300.h (R_MN10300_MAX): Likewise.
449 * pj.h (R_PJ_max): Likewise.
450 * ppc.h (R_PPC_max): Likewise.
451 * sh.h (R_SH_max): Likewise.
452 * sparc.h (R_SPARC_max): Likewise.
453 * v850.h (R_V850_max): Likewise.
455 * arm.h (R_ARM_max): Define via END_RELOC_NUMBERS.
456 * d10v.h (R_D10V_max): Likewise.
457 * d30v.h (R_D30V_max): Likewise.
458 * ia64.h (R_IA64_max): Likewise.
459 * mips.h (R_MIPS_maxext): Likewise.
460 * mn10200.h (R_MN10200_max): Likewise.
462 * i386.h (R_386_max): Remove old RELOC_NUMBER definition, and
463 define via END_RELOC_NUMBERS.
467 * reloc-macros.h (START_RELOC_NUMBERS): Fix name clash for
469 (RELOC_NUMBER): Use ansi stringify if ALMOST_STDC defined.
473 * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
474 (R_IA64_PCREL22, R_IA64_PCREL64I): New.
478 * common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV.
479 (ELFOSABI_MODESTO): Defined.
480 (ELFOSABI_OPENBSD): Likewise.
489 * common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
493 * common.h (ELFOSABI_NETBSD): Defined.
494 (ELFOSABI_HURD): Likewise.
495 (ELFOSABI_SOLARIS): Likewise.
496 (ELFOSABI_MONTEREY): Likewise.
497 (ELFOSABI_IRIX): Likewise.
498 (ELFOSABI_FREEBSD): Likewise.
499 (ELFOSABI_TRUE64): Likewise.
503 * arm-oabi.h: Delete.
504 * arm.h: Merge in definitions of old reloc numbers from
509 * arm.h (EF_ARM_SYMSARESORTED): Define.
510 (EF_ARM_EABIMASK): Define.
511 (EF_ARM_EABI_VERSION): Define.
512 (EF_ARM_EABI_UNKNOWN): Define.
513 (EF_ARM_EABI_VER1): Define.
515 (PF_ARM_ABS): Define.
519 * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.
523 * avr.h: New file. AVR ELF support for BFD.
524 * common.h: Add AVR magic number.
528 * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
529 R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
538 * common.h (ELF_ST_OTHER): Remove definition.
539 (ELF32_ST_OTHER): Remove definition.
540 (ELF64_ST_OTHER): Remove definition.
544 * common.h (ELFOSABI_LINUX): Define.
548 * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros.
549 (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise.
550 (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise.
554 * arm-oabi.h: Duplicate changes made to arm.h on Jan. 27,
559 * arm.h (STT_ARM_TFUNC): Define in terms of STT_LOPROC.
560 (STT_ARM_16BIT): New flag. Denotes a label that was defined in
561 Thumb block but was does not identify a function.
565 * common.h (EM_MCORE): Fix spelling of Motorola.
566 * mcore.h (EM_MCORE): Fix spelling of Motorola.
570 * common.h (EM_S370): Change comment - this is now the IBM
572 (EM_IA_64): Change comment - this is now the IA-64.
576 * common.h (DT_ENCODING): Fix definition of this value.
577 (DT_LOOS): Fix definition of this value.
578 (DT_HIOS): Fix definition of this value.
579 (OLD_DT_LOOS): Value of DT_LOOS before Oct 4, 1999 draft
580 of ELF spec changed it.
581 (OLD_DT_HIOS): Value of DT_HIOS before Oct 4, 1999 draft
582 of ELF spec changed it.
586 * common.h (NT_WIN32PSTATUS): Define. (cygwin elf core dumps).
590 * mips.h (STO_*): Redefine in terms of STV_* values now in
595 * common.h: Upgrade to match Oct4, 1999 Draft ELF ABI Spec.
596 (EM_MIPS_RS3_LE): New machine number.
597 (EM_RCE): New machine number.
598 (EM_MMA): New machine number.
599 (EM_PCP): New machine number.
600 (EM_NCPU): New machine number.
601 (EM_NDR1): New machine number.
602 (EM_STARCORE): New machine number.
603 (EM_ME16): New machine number.
604 (EM_ST100): New machine number.
605 (EM_TINYJ): New machine number.
606 (EM_FX66): New machine number.
607 (EM_ST9PLUS): New machine number.
608 (EM_ST7): New machine number.
609 (EM_68HC16): New machine number.
610 (EM_68HC11): New machine number.
611 (EM_68HC08): New machine number.
612 (EM_68HC05): New machine number.
613 (EM_SVX): New machine number.
614 (EM_VAX): New machine number.
615 (PF_MASKOS): Change value.
616 (SHT_INIT_ARRAY): New value for sh_type field.
617 (SHT_FINI_ARRAY): New value for sh_type field.
618 (SHT_PREINIT_ARRAY): New value for sh_type field.
619 (SHT_HIUSER): Change value.
620 (SHF_MERGE): New valye for sh_flags field.
621 (SHF_STRINGS): New valye for sh_flags field.
622 (SHF_INFO_LINK): New valye for sh_flags field.
623 (SHF_OS_NONCONFORMING): New valye for sh_flags field.
624 (SHF_MASKOS): Change value.
625 (ELF_ST_VISIBILITY): New macro.
626 (ELF_ST_OTHER): New macro.
627 (STT_COMMON): New symbol type.
628 (STV_DEFAULT): Value for symbol visibility.
629 (STV_INTERNAL): Value for symbol visibility.
630 (STV_HIDDEN): Value for symbol visibility.
631 (STV_PROTECTED): Value for symbol visibility.
632 (DT_RUNPATH): New dynamic section tag.
633 (DT_FLAGS): New dynamic section tag.
634 (DT_ENCODING): New dynamic section tag.
635 (DT_PREINIT_ARRAY): New dynamic section tag.
636 (DT_PREINIT_ARRAYSZ): New dynamic section tag.
637 (DT_LOPROC): New dynamic section tag index.
638 (DT_HIPROC): New dynamic section tag index.
639 (DF_ORIGIN): Value for dynamic section flag.
640 (DF_SYMBOLIC): Value for dynamic section flag.
641 (DF_TEXTREL): Value for dynamic section flag.
642 (DF_BIND_NOW): Value for dynamic section flag.
646 * i960.h (reloc-macros.h): Include using relative dir elf/.
647 * i386.h (reloc-macros.h): Include using relative dir elf/.
648 * hppa.h (reloc-macros.h): Include using relative dir elf/.
652 * common.h (NT_PRXFPREG): New definition.
656 * mn10300.h (E_MN10300_MACH_AM33): Define.
660 * hppa.h (PF_HP_PAGE_SIZE): Define.
661 (PF_HP_FAR_SHARED, PF_HP_NEAR_SHARED, PF_HP_CODE): Likewise.
662 (PF_HP_MODIFY, PF_HP_LAZYSWAP, PF_HP_SBP): Likewise.
666 * m32r.h (E_M32RX_ARCH): Define.
670 * hppa.h: Add DT_HP_GST_SIZE, DT_HP_GST_VERSION, and DT_HP_GST_HASHVAL.
675 * common.h (EM_PJ): Define.
679 * hppa.h: Add HPUX specific symbol type definitions.
681 * hppa.h: Add HPUX specific dynamic and program header table
682 specific definitions.
686 * common.h (NT_TASKSTRUCT): Define.
690 * sparc.h (EF_SPARC_SUN_US3): Define in Cheetah extensions
691 flag (as per SCD2.4.1).
695 * sparc.h (ELF64_R_TYPE_DATA): Only use ELF64_R_TYPE bits, not
700 * arm.h (EF_SOFT_FLOAT, F_SOFT_FLOAT): Define.
704 * m68k.h (EF_CPU32): Move definition inside multiple inclusion
709 * sparc.h (ELF64_R_TYPE_DATA): Sign extend the value.
710 (ELF64_R_TYPE_INFO): Mask out all but low 24 bits of data.
711 (DT_SPARC_PLTFMT): Delete.
712 Based on a patch from Jakub Jelinek.
716 * hppa.h (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
720 * sparc.h (R_SPARC_max_std): Define.
724 * hppa.h: Update with various changes from newest PA ELF
729 * common.h (EM_PPC64): Define.
733 * dwarf.h: Add LANG_JAVA.
734 * dwarf2.h: Add DW_LANG_Java.
738 * common.h (ELFOSABI_ARM): Define.
742 * reloc-macros.h: Update comment.
750 * mcore.h (R_MCORE_COPY): Define.
751 (R_MCORE_GLOB_DAT): Define.
752 (R_MCORE_JUMP_SLOT): Define.
756 * mcore.h (R_MCORE_RELATIVE): Define.
760 * m68k.h (EF_CPU32): Define.
764 * reloc-macros.h (START_RELOC_NUMBERS): Prepend an underscore to
765 fake reloc entry name (if possible), in order to avoid conflicts
766 with typedefs of the same name.
770 * mips.h (EF_MIPS_32BITMODE): New.
774 * mcore.h: New header file. Defines for Motorola's MCore
779 * common.h: Add new constants defined in: "System V Application
780 Binary Interface - DRAFT - April 29, 1998" found at the web site:
781 http://www.sco.com/developer/gabi/contents.html
783 (EM_MMA): Removed. Replaced with EM_MCORE as Motorolla own this
788 * reloc-macros.h: Fixed to not generate an enum with a trailing
793 * mips.h (E_MIPS_MACH_5000): New.
797 * common.h: Add definitions for a few more Solaris ELF extensions.
801 * external.h: Only use attribute if __GNUC__ is defined.
807 * external.h: struct Elf_External_Versym must be packed on
808 ARM. Code uses sizeof(Elf_External_Versym) and assumes it is
813 * dwarf2.h (DWARF2_External_ARange): New structure.
814 (DWARF2_Internal_ARange): New structure.
818 * arm.h: Renumber relocs to conform to standard.
819 (EF_NEW_ABI): Define.
820 (EF_OLD_ABI): Define.
821 * arm-oabi.h: New file.
825 * fr30.h: Add R_FR30_GNU_VT{INHERIT,ENTRY} relocs.
829 * dwarf2.h: Add typedefs for structures found in dwarf2 sections.
833 * mips.h (E_MIPS_MACH_4111): New.
837 * mips.h (EF_MIPS_ABI,E_MIPS_ABI_O32,E_MIPS_ABI_O64,
838 E_MIPS_ABI_EABI32,E_MIPS_ABI_EABI64):
842 * fr30.h: Add R_FR30_48 reloc.
846 * mips.h: Add external data type for conflict section.
848 * mips.h: Add more LL_* options from Irix 6.5.
850 * mips.h: Add R_MIPS_JALR and adjust R_MIPS_max appropriately.
854 * sh.h (elf_sh_reloc_type): Add R_SH_FIRST_INVALID_RELOC,
855 R_SH_LAST_INVALID_RELOC, R_SH_SWITCH8 and R_SH_max.
859 * common.h (EM_CYGNUS_FR30): Reduce to a 16 bit value.
863 * d10v.h: Add vtable relocs.
867 * common.h (EM_CYGNUS_FR30): New machine number.
869 * fr30.h: New file: Definitions for the FR30.
874 * arm.h (R_ARM_COPY, et al.): New relocs, used by Linux for PIC.
875 (EF_ALIGN8): New flag.
879 * common.h (NT_LWPSTATUS): Close comment accidentally left open.
883 * sh.h: Add vtable relocs.
887 * common.h (NT_PSTATUS, NT_FPREGS, NT_PSINFO,
888 NT_LWPSTATUS,NT_LWPSINFO): added.
889 * internal.h (Elf_Internal_Note): new structure members.
893 * m32r.h: Add vtable relocs.
897 * sparc.h: Add vtable relocs.
901 * v850.h: Add vtable relocs.
905 * i386.h (R_386_max): Change from 252 to 24.
909 * i386.h: Change vtable reloc numbers.
913 * m68k.h: Add vtable relocs and R_68K_max.
917 * arm.h: Add vtable relocs.
921 * arm.h: Define STT_ARM_TFUNC. Remove ST_THUMB_xxxx
926 * i386.h: Add vtable relocs.
930 * common.h: Add SYMINFO_* macros to access Elf*_Syminfo information.
932 * external.h: Add Elf_External_Syminfo definition.
934 * internal.h: Add Elf_Internal_Syminfo, Elf32_Internal_Syminfo,
935 and Elf64_Syminfo definitions.
939 * arm.h: Add ST_THUMB definitions.
943 * arm.h: Add ELF header flags to specify compile time optins:
944 EF_INTERWORK: New flag.
945 EF_APCS_26: New flag.
946 EF_APCS_FLOAT: New flag.
951 * mips.h: Add missing RHF_* constants.
955 * arm.h: Add R_ARM_THM_PC9 relocation.
959 * common.h: Add new DT_* entries and there flag macros from Solaris.
963 * sparc.h: (R_SPARC_REV32): Added for little endian data e.g. sparc 86x.
967 * mn10300.h: Add R_MN10300_24 relocation.
971 * mips.h: Add MIPS64 relocation names and values.
975 * arm.h: Rename relocations.
979 * ppc.h: Define enum as elf_ppc_reloc_type.
983 * reloc-macros.h: New file. Provides relocation macros:
984 START_RELOC_NUMBERS, RELOC_NUMBER, FAKE_RELOC, EMPTY_RELOC and
985 END_RELOC_NUMBERS used by other elf header files.
987 * alpha.h: Use reloc-macros.h.
988 * arc.h: Use reloc-macros.h.
989 * arm.h: Use reloc-macros.h.
990 * d10v.h: Use reloc-macros.h.
991 * d30v.h: Use reloc-macros.h.
992 * hppa.h: Use reloc-macros.h.
993 * i386.h: Use reloc-macros.h.
994 * m32r.h: Use reloc-macros.h.
995 * m68k.h: Use reloc-macros.h.
996 * mips.h: Use reloc-macros.h.
997 * mn10200.h: Use reloc-macros.h.
998 * mn10300.h: Use reloc-macros.h.
999 * ppc.h: Use reloc-macros.h.
1000 * sh.h: Use reloc-macros.h.
1001 * sparc.h: Use reloc-macros.h.
1002 * v850.h: Use reloc-macros.h.
1006 * mn10300.h: Rewrite relocation definition using macros.
1009 * alpha.h: Likewise.
1015 * mn10200.h: Likewise.
1017 * sparc.h: Likewise.
1026 * mn10200.h: New file.
1029 * mips.h: Add R_MIPS_* and SHT_MIPS_* entries.
1031 * mn10300.h: Add R_MN10300_* entries.
1033 * ppc.h: Add R_PPC_* entries.
1037 * mips.h: Add ODK_*, OEX_*, OPAD_*, OHW_*, and OGP_* constants.
1038 Define Elf32_External_Lib.
1042 * mips.h (PT_MIPS_OPTIONS): New symbol.
1043 Add lots of DT_MIPS_* symbols.
1047 * mn10300.h: New file.
1051 * common.h (EM_960, EM_V800, EM_FR20, EM_RH32, EM_MMA,
1052 EM_OLD_ALPHA): Add these constants.
1056 * common.h (EM_486, EM_S370): Add these constants.
1060 * common.h (EM_ARM): Add this constant.
1064 * mips.h (EF_MIPS_MACH,E_MIPS_MACH_*): Added.
1068 * alpha.h (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1072 * common.h (EM_SPARC64): Move and rename to EM_OLD_SPARCV9.
1073 (EM_SPARCV9): New. This is the official ABI name and number.
1077 * alpha.h (EF_ALPHA_32BIT, EF_ALPHA_CANRELAX): New.
1081 * m32r.h (EF_M32R_ARCH, E_M32R_ARCH): New flags to
1082 specify machine architecture.
1086 * v850.h: New constants: SHN_V850_SCOMMON, SHN_V850_TCOMMON,
1087 SHN_V850_ZCOMMON, SHT_V850_SCOMMON, SHT_V850_TCOMMON,
1088 SHT_V850_ZCOMMON to handle v850 common sections.
1089 enum reloc_type renamed to v850_reloc_type to avoid name
1094 * sparc.h (enum elf_sparc_reloc_type): Add UA64 & UA16.
1098 * sparc.h (DT_SPARC_REGISTER): New macro.
1099 (DT_SPARC_PLTFMT): In support of old sparc64-linux .plts; will
1104 * sparc.h (EF_SPARC_HAL_R1, EF_SPARC_EXT_MASK): New macros.
1105 (EF_SPARCV9_{MM,TSO,PSO,RMO}): New macros.
1106 (SHN_BEFORE,SHN_AFTER): New macros.
1107 (SHF_EXCLUDE,SHF_ORDERED): New macros.
1108 (STT_REGISTER): New macro.
1109 (R_SPARC_GLOB_JMP): Deleted, but slot reserved.
1110 (R_SPARC_{DISP64,PLT64,HIX22,LOX10}): New relocations.
1111 (R_SPARC_{H44,M44,L44,REGISTER}): New relocations.
1112 (ELF64_R_TYPE_{DATA,ID,INFO}): New macros.
1116 * v850.h: Add R_V850_CALLT_6_7_OFFSET and R_V850_CALLT_16_16_OFFSET.
1120 * v850.h (reloc_type): Add R_V850_TDA_16_16_OFFSET.
1124 * mips.h: Correct typo in comment.
1128 * v850.h (reloc_type): Remove R_V850_16_PCREL.
1132 * common.h: Remove magic number for V850E.
1133 * common.h: Remove magic number for V850EA.
1134 * v850.h: Add new flags for e_flags field in elf header.
1138 * common.h (EM_CYGNUS_V850E): backend magic number for v850e.
1139 * common.h (EM_CYGNUS_V850EA): backend magic number for v850ea.
1143 * v850.h (reloc_type): Add 16 bit PC relative relocation.
1147 * arc.h (enum reloc): Move here from elf32-arc.c.
1152 * common.h (EM_CYGNUS_ARC): Define.
1156 * internal.h (Elf_Internal_Ehdr): Change e_phoff and e_shoff from
1157 bfd_signed_vma to bfd_size_type, as they are not signed.
1161 * m32r.h (SHF_M32R_CAN_RELAX): Define.
1165 * external.h: Dump the 32/64 bit specific forms of the version
1166 structures, and just define them as size independent.
1168 * common.h (VERSYM_HIDDEN, VERSYM_VERSION): Define.
1172 * m32r.h (enum reloc_type): Add R_M32R_SDA16.
1173 (SHN_M32R_SCOMMON): Define.
1178 * external.h, internal.h, common.h: Added new structures and
1179 definitions for ELF versions.
1183 * common.h (EM_CYGNUS_D30V): Define.
1187 * m32r.h (enum reloc_type): Add R_M32R_HI16_[SU]LO,R_M32R_LO16.
1191 * v850.h (V850_OTHER_{TDA_BYTE,ERROR}): New bits for the st_other
1193 (SHN_V850_*): Remove v850 specific section indexes, which are not
1195 (enum reloc_type): Move the v850 relocations here from
1200 * v850.h: New file, provide V850 specific definitions.
1204 * common.h (DT_AUXILIARY): Define.
1205 (DT_FILTER): Define.
1213 * mips.h (STO_MIPS16): Define.
1217 * d10v.h: Remove empty file.
1221 * mips.h (EF_MIPS_ABI2): Define.
1225 * common.h: Break mn10x00 support into mn10200 and mn10300.
1229 * common.h (EM_CYGNUS_MN10x00): Define.
1237 * common.h (EM_SH): Define.
1241 * common.h (EM_CYGNUS_V850): Define.
1245 * common.h (EM_CYGNUS_M32R): Define.
1249 * mips.h (SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Define.
1250 (SHT_MIPS_SYMBOL_LIB): Define.
1251 (SHF_MIPS_MERGE, SHF_MIPS_ADDR32, SHF_MIPS_ADDR64): Define.
1252 (SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL, SHF_MIPS_NAMES): Define.
1256 * dwarf2.h: New file.
1260 * common.h (EM_CYGNUS_D10V): Define.
1265 * alpha.h: New file.
1266 * common.h (EM_ALPHA): Define.
1270 * mips.h (Elf_External_Options, Elf_Internal_Options): Define.
1271 (bfd_mips_elf_swap_options_in): Declare.
1272 (bfd_mips_elf_swap_options_out): Declare.
1274 (Elf64_External_RegInfo, Elf64_Internal_RegInfo): Define.
1275 (bfd_mips_elf64_swap_reginfo_in): Declare.
1276 (bfd_mips_elf64_swap_reginfo_out): Declare.
1280 * mips.h (E_MIPS_ARCH_4): Define.
1284 * mips.h (Elf64_Mips_External_Rel): Define.
1285 (Elf64_Mips_Internal_Rel): Define.
1286 (Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define.
1291 * sparc.h (R_SPARC_[56]): Always define.
1295 * sparc.h (R_SPARC_{PLT32,HIPLT22,LOPLT10,PCPLT32,PCPLT22,
1296 PCPLT10,5,6}): Don't define ifdef SPARC64_OLD_RELOCS.
1300 * sparc.h (enum sparc_elf_reloc_type): Define.
1304 * common.h: Define EM_SPARC32PLUS.
1305 * sparc.h: New file.
1309 * ppc.h (SHF_EXCLUDE, SHT_ORDERED): New fields from the abi.
1313 * internal.h (struct elf_segment_map): Add includes_filehdr and
1314 includes_phdrs fields.
1318 * internal.h (struct elf_segment_map): Define.
1322 * common.h, dwarf.h, external.h, hppa.h, internal.h,
1323 mips.h, ppc.h: Protect against multiple inclusions.
1327 * ppc.h (EF_PPC_RELOCATABLE_LIB): Add new flag bit.
1331 * mips.h: Add some definitions used on Irix 5.
1335 * hppa.h (CPU_PA_RISC1_0): Protect from redefinitions.
1336 (CPU_PA_RISC1_1): Likewise.
1340 * ppc.h: New file for PowerPC support.
1344 * common.h (EM_PPC): Use offical value of 20, not 17.
1345 (EM_PPC_OLD): Define this to be the old value of EM_PPC.
1349 * common.h (EM_PPC): New macro, PowerPC machine id.
1353 * mips.h (SHT_MIPS_MSYM, SHT_MIPS_DWARF, SHT_MIPS_EVENTS): Define.
1357 * internal.h (Elf_Internal_Shdr): Remove rawdata and size fields.
1358 Add bfd_section field.
1362 * mips.h (Elf32_External_gptab): Define.
1366 * common.h (EM_HPPA): Delete.
1372 * common.h (SHN_LORESERVE): Rename from SHN_LORESERV.
1373 (ELF32_R_TYPE, ELF32_R_INFO): Don't rely on size of unsigned char.
1374 (ELF64_R_TYPE): Don't rely on size of unsigned long.
1378 * internal.h (Elf_Internal_Shdr): Use PTR, not void *.
1382 * mips.h (SHN_MIPS_TEXT, SHN_MIPS_DATA): Define.
1386 * internal.h: Remove Elf32_*, Elf64_* typedefs. These names
1387 cause conflicts with system headers, e.g. link.h in gdb/solib.c.
1388 Combine 32- and 64-bit versions of *_Internal_Dyn.
1389 * common.h: Replace uses of Elf64_Word, Elf64_Xword typedefs
1391 * mips.h: Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr
1392 typedefs by their expansion. Add DT_MIPS_RLD_MAP definition.
1396 * common.h (EM_CYGNUS_POWERPC): Define. This may be temporary,
1397 depending upon how quickly I can find a real PowerPC ABI.
1401 * internal.h: Change HOST_64_BIT to BFD_HOST_64_BIT.
1405 * common.h: Add comments regarding value of EM_HPPA and how to
1406 pick an unofficial value.
1410 * mips.h (SHT_MIPS_OPTIONS): Define.
1414 * mips.h: Added some more MIPS ABI macro definitions.
1418 * common.h (EM_MIPS_RS4_BE): New macro.
1422 * mips.h: New file. MIPS ABI specific information.
1426 * internal.h: Combined 32- and 64-bit versions of all structures
1427 except *_Internal_Dyn. This will simply the assembler interface,
1432 * external.h, internal.h, common.h: Added 64-bit versions of some
1433 structures and macros. Renamed old versions to put "32" in the
1434 name. Some are unchanged.
1438 * common.h (EM_HPPA, NT_VERSION, STN_UNDEF, DT_*): New macros.
1439 * external.h (Elf_External_Dyn): New type.
1441 * internal.h (Elf_Intenral_Shdr): New field `size'.
1442 (Elf_Internal_Dyn): New type.
1446 * dwarf.h (LANG_CHILL): Change value to one randomly picked in
1447 the user defined range, to reduce probability of collisions.
1451 * dwarf.h (AT_src_coords): Whitespace change only.
1452 * dwarf.h (AT_body_begin, AT_body_end, LANG_MODULA2):
1453 Add from latest gcc.
1454 * dwarf.h (LANG_CHILL): Add as GNU extension.
1458 * dwarf.h: Replace with current version from gcc distribution.
1460 Fri Jun 19 19:05:09 1992 John Gilmore (gnu at cygnus.com)
1462 * internal.h: Add real struct tags to all the Type_Defs, so they
1463 can be used in prototypes where the Type_Defs are not known.
1465 Fri Apr 3 20:58:58 1992 Mark Eichin (eichin at cygnus.com)
1467 * common.h: added ELF_R_{SYM,TYPE,INFO} for handling relocation
1469 added EM_MIPS, and corrected value of EM_860 based on System V ABI
1472 * external.h: added Elf_External_{Rel,Rela}.
1474 * internal.h: added Elf_Internal_{Rel,Rela}.
1475 added rawdata to Elf_Internal_Shdr.
1477 Sat Nov 30 20:43:59 1991 Steve Chamberlain (sac at rtl.cygnus.com)
1479 * common.h, dwarf.h, external.h, internal.h, ChangeLog; moved from
1484 version-control: never