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 */
/* 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
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 */