diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-06-24 01:24:35 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-06-24 01:24:35 +0000 |
commit | c86c94ec31eb22e1cdd20834645bf13915d0ee55 (patch) | |
tree | f596eac17ca47cd5304543958d692cc973b019d4 /include | |
parent | 570a3902819d713a108a191fd30a086b39b9ab7c (diff) | |
download | fsf-binutils-gdb-c86c94ec31eb22e1cdd20834645bf13915d0ee55.zip fsf-binutils-gdb-c86c94ec31eb22e1cdd20834645bf13915d0ee55.tar.gz fsf-binutils-gdb-c86c94ec31eb22e1cdd20834645bf13915d0ee55.tar.bz2 |
(struct internal_scnhdr): Add comment regarding s_paddr.
Diffstat (limited to 'include')
-rw-r--r-- | include/coff/internal.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/include/coff/internal.h b/include/coff/internal.h index b414236..da27e58 100644 --- a/include/coff/internal.h +++ b/include/coff/internal.h @@ -265,7 +265,13 @@ struct internal_aouthdr struct internal_scnhdr { char s_name[SCNNMLEN]; /* section name */ - bfd_vma s_paddr; /* physical address, aliased s_nlib */ + + /* Physical address, aliased s_nlib. + In the pe/pei format, this field is the virtual section size + (the size of the section after being loaded int memory), + NOT the physical address. */ + bfd_vma s_paddr; + bfd_vma s_vaddr; /* virtual address */ bfd_vma s_size; /* section size */ bfd_vma s_scnptr; /* file ptr to raw data for section */ @@ -620,7 +626,7 @@ struct internal_reloc /* This reloc identifies a bra with an 8-bit pc-relative target that was formerlly a jmp insn with a 24bit target. */ -#define R_JMPL_B8 0x47 +#define R_JMPL2 0x47 /* This reloc identifies mov.b instructions with a 24bit absolute address. The linker tries to turn insns with this reloc into @@ -651,6 +657,14 @@ struct internal_reloc a 32/24bit absolute address and how have a 16bit absolute address. */ #define R_MOVL2 0x4d +/* This reloc identifies a bCC:8 which will have it's condition + inverted and its target redirected to the target of the branch + in the following insn. */ +#define R_BCC_INV 0x4e + +/* This reloc identifies a jmp instruction that has been deleted. */ +#define R_JMP_DEL 0x4f + /* Z8k modes */ #define R_IMM16 0x01 /* 16 bit abs */ #define R_JR 0x02 /* jr 8 bit disp */ |