2009-03-24 Hans-Peter Nilsson <hp@axis.com>
+ * elf32-cris.c (cris_elf_relocate_section): <case
+ R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local
+ symbols for non-allocated sections. Don't check whether to
+ generate R_CRIS_DTPMOD for non-allocated sections.
+ (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't
+ handle relocation GC:ing if applied to non-allocated section.
+ (cris_elf_check_relocs): Similar.
+
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
<R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size
when emitting a known TP offset in the GOT.