From c86c94ec31eb22e1cdd20834645bf13915d0ee55 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 24 Jun 1996 01:24:35 +0000 Subject: [PATCH] (struct internal_scnhdr): Add comment regarding s_paddr. --- include/coff/internal.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/include/coff/internal.h b/include/coff/internal.h index b4142364f43..da27e5887d8 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 */ -- 2.30.2