+2004-09-30 Paul Brook <paul@codesourcery.com>
+
+ * elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs"
+ target2 relocation type.
+
2004-09-30 H.J. Lu <hongjiu.lu@intel.com>
PR 414
globals->target1_is_rel = target1_is_rel;
if (strcmp (target2_type, "rel") == 0)
globals->target2_reloc = R_ARM_REL32;
+ else if (strcmp (target2_type, "abs") == 0)
+ globals->target2_reloc = R_ARM_ABS32;
else if (strcmp (target2_type, "got-rel") == 0)
globals->target2_reloc = R_ARM_GOT_PREL;
else
+2004-09-30 Paul Brook <paul@codesourcery.com>
+
+ * ld.texinfo: Document --target2=abs.
+ * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
+
2004-09-29 Nick Clifton <nickc@redhat.com>
* scripttempl/xstormy16.sc: Only perform the assignments to the
BIG_OUTPUT_FORMAT="elf32-bigarm-symbian"
LITTLE_OUTPUT_FORMAT="$OUTPUT_FORMAT"
TARGET1_IS_REL=1
+TARGET2_TYPE=abs
# This value should match ELF_MAXPAGESIZE in BFD. Otherwise, elf.c
# will not place read-write sections in a separate ELF segment from
meanings, and target defaults are as follows:
@table @samp
@item rel
-@samp{R_ARM_REL32} (arm*-*-symbianelf, arm*-*-elf, arm*-*-eabi)
+@samp{R_ARM_REL32} (arm*-*-elf, arm*-*-eabi)
+@item abs
+@samp{R_ARM_ABS32} (arm*-*-symbianelf)
@item got-rel
@samp{R_ARM_GOT_PREL} (arm*-*-linux, arm*-*-*bsd)
@end table
+2004-09-30 Paul Brook <paul@codesourcery.com>
+
+ * ld-arm/arm-elf.exp: Add test for --target2=abs.
+ * ld-arm/arm-target2-abs.d: New file.
+
2004-09-29 Alan Modra <amodra@bigpond.net.au>
* ld-pe/secrel1.s: Pad .rdata out to 16 byte boundary.
{"target2-rel" "-static --target2=rel -T arm.ld" "" {arm-target2.s}
{{objdump -s arm-target2-rel.d}}
"arm-target2-rel"}
+ {"target2-abs" "-static --target2=abs -T arm.ld" "" {arm-target2.s}
+ {{objdump -s arm-target2-abs.d}}
+ "arm-target2-abs"}
{"target2-got-rel" "-static --target2=got-rel -T arm.ld" "" {arm-target2.s}
{{objdump -s arm-target2-got-rel.d}}
"arm-target2-got-rel"}
--- /dev/null
+
+.*: file format.*
+
+Contents of section .text:
+ 8000 (04800000|00008004) .*