3 * All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ,
4 AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of
5 sizeof. Define AOUTHDRSZ in all files.
6 * pe.h (AOUTSZ): Define by adding to AOUTHDRSZ.
10 * alpha.h: Add declarations for relocation types added for Alpha
16 * h8300.h (H8300SMAGIC): Define.
17 (H8300SBADMAG): Define.
22 * internal.h (R_BCC_INV, R_JMP_DEL): New relocations for
23 relaxing in the H8/300 series.
27 * sh.h (R_SH_CODE, R_SH_DATA, R_SH_LABEL): Define.
31 * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to be
32 consistent with other similar relocs.
34 * internal.h (H8/300 specific relocs): Add comments better
35 explaining what each reloc is used for.
36 (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2.
37 (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2.
38 (R_MOVL1, R_MOVL2): New relocs.
42 * internal.h (R_PCRWORD_B): Define for the h8300 relaxing
47 * internal.h (SCNNMLEN): Define.
48 (struct internal_scnhdr): Use SCNNMLEN for s_name field.
52 * pe.h: Define IMAGE_COMDAT codes.
56 * arm.h (union external_auxent): Add x_checksum, x_associated, and
57 x_comdat fields to x_scn struct.
58 * i386.h (union external_auxent): Likewise.
59 * powerpc.h (union external_auxent): Likewise.
60 * internal.h (union internal_auxent): Likewise.
64 * ecoff.h (struct ecoff_find_line): Add caching fields.
68 * internal.h (R_MEM_INDIRECT): New reloc for the h8300.
72 * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS
73 systems which think that aux is a com port.
77 * i960.h (F_I960HX): Define.
82 * internal.h, m68k.h: Protect against multiple inclusion.
86 * ecoff.h (_RCONST, STYP_RCONST, RELOC_SECTION_RCONST): Define.
87 (NUM_RELOC_SECTIONS): Update.
88 * symconst.h (scRConst): Define.
92 * internal.h (C_NT_WEAK): Define.
96 * rs6000.h (STYP_OVRFLO): Define.
100 * coff/powerpc.h (IMAGE_NT_OPTIONAL_HDR_MAGIC): Added define.
101 * coff/pe.h: Added defines for file level flags
105 * i860.h: New file, based on i386.h.
109 * m68k.h (PAGEMAGICEXECSWAPPED): Define.
110 (PAGEMAGICPEXECSWAPPED): Define.
111 (PAGEMAGICPEXECTSHLIB): Define.
112 (PAGEMAGICPEXECPAGED): Define.
114 * m88k.h (_COMMENT): Define.
118 * sym.h: #if 0'd out runtime_pdr struct because it chokes
119 Visual C++ and there aren't any references to it elsewhere in gdb.
123 * rs6000.h (SMALL_AOUTSZ): Define.
125 * internal.h (XMC_TD): Define.
129 * internal.h (struct internal_aouthdr): Add o_cputype field.
130 * rs6000.h (AOUTHDR): Rename o_resv1 to o_cputype.
134 * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
135 (_PAD, _LOADER): Define.
136 (STYP_LOADER): Define.
137 * internal.h (struct internal_aouthdr): Add o_maxdata field.
141 * ecoff.h: Define section name macros and STYP macros for various
142 Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic,
143 .comment, .liblist, .dynamic.
147 * pe.h: Moved DOSMAGIC and NT_SIGNATURE defines here
148 * powerpc.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines
149 Also removed other unused defines (various MAGIC ones)
150 * i386.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines
151 * arm.h: removed DOSMAGIC, NT_SIGNATURE, and DEFAULT_* defines
152 * apollo.h: removed unused DEFAULT_* defines
153 * alpha.h: removed unused DEFAULT_* defines
154 * h8500.h: removed unused DEFAULT_* defines
155 * h8300.h: removed unused DEFAULT_* defines
156 * i960.h: removed unused DEFAULT_* defines
157 * m88k.h: removed unused DEFAULT_* defines
158 * we32k.h: removed unused DEFAULT_* defines
159 * rs6000.h: removed unused DEFAULT_* defines
160 * mips.h: removed unused DEFAULT_* defines
161 * m68k.h: removed unused DEFAULT_* defines
162 * z8k.h: removed unused DEFAULT_* defines
163 * w65.h: removed unused DEFAULT_* defines
164 * sparc.h: removed unused DEFAULT_* defines
165 * sh.h: removed unused DEFAULT_* defines
169 * powerpc.h: Reformatted to GNU coding conventions.
171 Wed Sep 27 06:50:50 1995 Kim Knuttila <krk@nellie>
173 * pe.h: added defines for more section characteristics
174 * powerpc.h (new file): base coff definitions for ppc PE
178 * internal.h (struct internal_syment): Change n_numaux field from
179 char to unsigned char.
183 * mips.h (struct rpdr_ext): Define.
187 * internal.h (internal_aouthdr, internal_filehdr):
188 don't indirect the pe stuff.
192 * i386.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Make the same
193 as 'the other' compiler.
194 * internal.h (NT_IMAGE_BASE): Deleted.
195 (NT_EXE_IMAGE_BASE, NT_DLL_IMAGE_BASE): New.
196 (PE_DEF_SECTION_ALIGNMENT, PE_DEF_FILE_ALIGNMENT): New.
201 * internal.h: (internal_filehdr): Moved PE stuff into
202 internal_extra_pe_filehdr.
203 (internal_aouthdr): Moved PE stuff into
204 interanl_extra_pe_aouthdr.
208 * internal.h: Move R_SH_* relocs from here...
210 (R_SH_SWITCH16, R_SH_SWITCH32): Define.
211 (R_SH_USES, R_SH_COUNT, R_SH_ALIGN): Define.
215 * internal.h (NT_DEF_RESERVE, NT_DEF_COMMIT): Increase a lot.
219 * internal.h (NT_subsystem, NT_stack_heap): Delete
223 * internal.h (NT_subsystem, NT_stack_heap): Now extern.
227 * ecoff.h (struct ecoff_fdrtab_entry): Define.
228 (struct ecoff_find_line): Define.
232 * sym.h (struct pdr): field "prof" added.
234 * alpha.h (PDR_BITS1_PROF_*): added, macros for PDR_BITS*_RESERVED_*
237 Sun Jan 15 18:38:33 1995 Steve Chamberlain <sac@splat>
243 * sh.h (SH_ARCH_MAGIC_BIG, SH_ARCH_MAGIC_LITTLE): New.
244 (SHBADMAG): Changed to suit.
248 * i960.h (F_I960JX): New macro.
252 * alpha.h: Add definitions for alpha file header flags, encoding
253 the object type of the file.
257 * ecoff.h (ecoff_swap_tir_in): Remove declaration.
258 (ecoff_swap_tir_out): Likewise.
259 (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise.
260 (struct ecoff_debug_swap): Add new fields: swap_tir_in,
261 swap_rndx_in, swap_tir_out, swap_rndx_out, read_debug_info.
265 * symconst.h: Pick up SGI define for stIndirect.
269 * ecoff.h (REGINFO): Don't define.
270 (struct ecoff_reginfo): Don't define.
272 * sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used by
273 several targets to mean a shared library.
274 (SHBADMAG): Corresponding change.
278 * mips.h (RELOC_BITS3_TYPE_BIG): Changed from 0x1e to 0x3e.
279 (RELOC_BITS3_TYPEHI_LITTLE): Define.
280 (RELOC_BITS3_TYPEHI_SH_LITTLE): Define.
281 (MIPS_R_PCREL16): Change value from 8 to 12 to match Irix 4.
282 (MIPS_R_RELHI): Define.
283 (MIPS_R_RELLO): Define.
284 (MIPS_R_SWITCH): Change value from 9 to 22.
288 * mips.h (MIPS_R_SWITCH): Define.
292 * internal.h (internal_aouthdr): Added comments for Apollo fields.
296 * ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4.
300 * ecoff.h (struct ecoff_debug_info): Add adjust field.
301 (struct ecoff_value_adjust): Define.
305 * mips.h (MIPS_R_PCREL16): Define.
309 * ecoff.h: Add casts to avoid warnings from SVR4 cc.
313 * sym.h (struct runtime_pdr): Make field adr bfd_vma, not unsigned
315 (SYMR): Make field value bfd_vma, not long.
319 * rs6000.h (STYP_DEBUG): Define.
323 * internal.h (union internal_auxent): Change x_csect.x_scnlen into
324 a union of a long and a pointer to a symbol. XCOFF sometimes uses
325 this field as a symbol index.
329 * ecoff.h (ecoff_debug_info): Remove fields line_end,
330 external_dnr_end, external_pdr_end, external_sym_end,
331 external_opt_end, external_aux_end, ss_end, external_fdr_end.
332 Replace ifdbase with ifdmap.
336 * ecoff.h (STYP_EXTENDESC, STYP_COMMENT, STYP_XDATA, STYP_PDATA):
341 * ecoff.h (NUM_RELOC_SECTIONS): Define.
345 * sparc.h (struct external_reloc): Rename field r_addend to
350 * internal.h (R_DISP7, R_SH_IMM16): New reloc types.
354 * ecoff.h (struct ecoff_debug_swap): Added *_end fields for all
355 the symbolic information pointers.
357 * sym.h: Named the EXTR structure ecoff_extr.
361 * sparc.h (RELSZ): Use correct size.
365 * mips.h (struct ecoff_debug_info): Define.
369 * ecoff.h (struct ecoff_debug_swap): Define.
373 * i386.h (I386LYNXMAGIC): Rename to LYNXCOFFMAGIC.
374 * m68k.h (LYNXCOFFMAGIC): Define.
379 * alpha.h (external_aouthdr): Split four byte padding field into
380 two byte bldrev field and two byte padding field.
382 * ecoff.h (_LITA, _PDATA, _XDATA, STYP_LITA): Defined.
388 * coff/internal.h: Added o_sri, o_inlib and o_vid for Apollos
391 * coff/apollo.h: New file
395 * ecoff.h (REGINFO, struct ecoff_reginfo): Define.
399 * rs6000.h: Change non-ASCII characters in comment to octal
404 * ecoff.h (_FINI, STYP_ECOFF_FINI): Add to support .fini section.
408 * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3.
409 * ecoff.h: Define MIPS_MAGIC_LITTLE3 and MIPS_MAGIC_BIG3.
413 * mips.h (BADMAG): Recognize MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2.
414 * ecoff.h: Define MIPS_MAGIC_LITTLE2 and MIPS_MAGIC_BIG2.
418 * sym.h, symconst.h: Add comment stating these files are not part
419 of GDB, GAS, etc. In 1991, when we asked rms whether we could
420 include these files in GDB (although they are copyrighted by
421 someone besides the FSF), he said it was OK if they were not
422 considered part of GDB.
426 * ecoff.h (AUX_PUT_ANY): Cast val argument to bfd_vma.
428 * alpha.c (external_aouthdr): Need four bytes of padding between
433 * ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further
434 change in bfd swapping routine names.
438 * ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd
443 * ecoff.h (RELOC_SECTION_NONE): Define.
447 * alpha.h (struct external_reloc): Add r_symndx field.
449 (RELOC_BITS*): Correct.
451 * ecoff.h (RELOC_SECTION_{XDATA,PDATA,FINI,LITA,ABS}): Define.
452 (r_extern): Undefine.
453 * internal.h (struct internal_reloc): Make r_vaddr bfd_vma rather
454 than long. Add r_extern field.
456 * alpha.h (PDR_BITS*): Define.
457 * sym.h (PDR): Give correct names to new fields.
459 * ecoff.h: Moved MIPS reloc definitions from here...
464 * alpha.h: Corrected external symbolic debugging structures to
466 * internal.h (internal_filehdr, internal_aouthdr,
467 internal_scnhdr): Changed type of some fields to bfd_vma so they
469 * sym.h (HDRR, FDR, PDR, EXTR): Likewise.
470 (PDR): Added new fields found on Alpha.
471 * symconst.h (magicSym2): Define; new value found on Alpha.
474 * alpha.h, mips.h: Moved common information into ecoff.h. Moved
475 external structure definitions in from ecoff-ext.h.
476 * ecoff-ext.h: Removed; information now in alpha.h and mips.h.
480 * i386.h: Recognize I386PTXMAGIC.
484 * mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC.
488 * m88k.h (union external_auxent): Move x_fcn back inside x_fcnary.
489 ({GET,PUT}_FCN_{LNNOPTR,ENDNDX}): Adjust accordingly.
493 * m68k.h: Define MC68KBCSMAGIC.
497 * mips.h (_INIT, STYP_MIPS_INIT): Define (used on Irix4).
498 (STYP_OTHER_LOAD): Define as STYP_MIPS_INIT.
502 * mips.h (OMAGIC): Define.
506 * internal.h, sh.h: Support for SH.
510 * a29k.h: Define _LIT.
518 * internal.h (C_SHADOW, C_VERSION): Copied in from m88k.h.
519 * m88k.h, i386.h, we32k.h: Don't define all the storage classes;
520 they're already in internal.h.
524 * internal.h: Change n_sclass to unsigned char.
525 Change C_EFCN to 0xff, change RS/6000 dbx symbols
526 to no longer be signed.
530 * internal.h: Add H8/500 reloc types.
534 * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of
535 conditional expression.
539 * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
540 (AUX_PUT_*): New macros corresponding to the AUX_GET macros.
541 (ecoff_swap_tir_out): Added prototype.
543 * mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these
544 are needed to interpret gcc debugging output.
548 * we32k.h (BTYPE, ISPTR, ISFCN, ISARY, DECREF): Removed
549 more definitions duplicated in internal.h.
553 * mips.h (RELOC_BITS3_TYPE_*): Correct for big endian machines.
557 * internal.h (internal_aouthdr): Added additional fields used only
562 * mips.h (AOUTHDR): Added additional fields used by ECOFF.
566 * i386.h, we32k.h (N_*, T_*, DT_*): Removed still more definitions
567 duplicated in internal.h.
569 * mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF
574 * ecoff-ext.h: Added prototypes for new ECOFF swapping functions.
575 (opt_ext): New structure.
576 * mips.h (ZMAGIC): Defined to be 0413.
577 (_LIB): Defined to be ".lib"
578 (external_reloc): MIPS ECOFF relocs are only 8 bytes. Added
579 macros to aid in swapping.
583 * ecoff-ext.h: Added prototypes for ECOFF swapping functions.
584 * internal.h (internal_scnhdr): Always provide s_align field, not
586 (internal_reloc): Always provide r_size field, not just on
588 * mips.h (_RDATA, _SDATA, _SBSS, _LIT4, _LIT8, STYP_RDATA,
589 STYP_SDATA, STYP_SBSS, STYP_LIT4, STYP_LIT8): Defined.
590 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB,
591 STABS_SYMBOL): Moved in from gdb/mipsread.c.
595 * i386.h, we32k.h: removed STYP_* defines, since they duplicated
600 * i386.h: define I386AIXMAGIC for Danbury AIX PS/2 compiler.
604 * i386.h: don't define BTYPE, ISPTR, ISFCN, ISARY, DECREF: they
605 are defined in internal.h.
609 * internal.h: (internal_reloc): r_offset is now a long.
610 * z8k.h: slight comment enhancement
614 * internal.h: changed z8k reloc types
622 * symconst.h: comment out cruft at the end of #endif
626 * internal.h: added #define for STYP_LIT, removed from a29k and
629 * z8k.h: added z8000 support
633 * internal.h: added R_RELLONG_NEG reloc type
635 Fri Jun 12 20:11:04 1992 John Gilmore (gnu at cygnus.com)
637 * symconst.h: Fix unterminated comment.
641 * i386.h: a.out magic numbers from
644 Mon Jun 8 20:13:33 1992 John Gilmore (gnu at cygnus.com)
646 * ecoff-ext.h, mips.h: Use unsigned chars everywhere.
647 (Suggested by Antti Miettinen.)
649 Tue Apr 14 15:18:44 1992 John Gilmore (gnu at cygnus.com)
651 * sym.h: Add comments.
652 * symconst.h: Merge with Fred's changes.
656 * symconst.h: Pick up SGI defines for stStruct, stUnion, stEnum,
657 langCplusplus, and langCplusplusV2.
659 Thu Apr 2 19:47:43 1992 John Gilmore (gnu at cygnus.com)
661 * sym.h, symconst.h: MIPS has provided redistributable versions
662 of these files. Thanks!
663 * ecoff-ext.h: Add weakext bit to match new sym.h.
665 Fri Mar 6 00:10:46 1992 John Gilmore (gnu at cygnus.com)
667 * ecoff-ext.h: Add relative file descriptors.
669 Thu Feb 27 11:53:04 1992 John Gilmore (gnu at cygnus.com)
671 * ecoff-ext.h: New file for external (in-file) form of ecoff
674 Thu Feb 6 11:33:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
676 * h8300.h: made the external_lineno l_lnno field 4 bytes wide.
677 andded GET/PUT_LINENO_LNNO macros
679 Sat Nov 30 20:38:35 1991 Steve Chamberlain (sac at rtl.cygnus.com)
681 * ChangeLog, a29k.h, h8300.h, i386.h, i960.h, internal.h, m68k.h,
682 m88k.h, mips.h, rs6000.h: move from above coff-<foo>.h
686 version-control: never