This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/bfd ChangeLog config.bfd configure configu ...
- From: aoliva at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 6 May 2004 02:43:16 -0000
- Subject: src/bfd ChangeLog config.bfd configure configu ...
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_15-branch
Changes by: aoliva@sourceware.org 2004-05-06 02:43:16
Modified files:
bfd : ChangeLog config.bfd configure configure.in
elf32-frv.c targets.c
Log message:
* configure.in (bfd_elf32_frvfdpic_vec): New.
* configure: Rebuilt.
* targets.c (bfd_elf32_frvfdpic_vec): New.
* config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default
on the latter.
* elf32-frv.c: Prefix all identifiers added for FDPIC support with
frvfdpic instead of frv. Rearrange elf-target macros such that
the FDPIC-specific ones are only defined for this new target
vector.
(bfd_elf32_frvfdpic_vec): Declare.
(IS_FDPIC): New.
(elf32_frv_relocate_section): Use it to enable segment checking
and to control rofixup emission. Add output section vma to
applied relocation in non-LOAD non-ALLOC sections. Use
_bfd_error_handler for errors.
(_frv_create_got_section): Create .rel.got and .rofixup only in
FDPIC. Create non-dynamic _gp at .got+2048 in non-FDPIC, like the
linker script.
(elf32_frvfdpic_size_dynamic_sections): Assume FDPIC.
(elf32_frvfdpic_modify_segment_map): Likewise.
(elf32_frv_finish_dynamic_sections): New, do-nothing.
(elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC. Improve
error message if we miscompute the rofixup size.
(frvfdpic_elf_use_relative_eh_frame): Assume FDPIC.
(frvfdpic_elf_encode_eh_address): Likewise.
(elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC.
Record relocs only in FDPIC. Make sure _gp is defined for GPREL
relocs. Reject unknown relocation types.
(elf32_frv_object_p): Make sure target vector matches FDPIC bits.
(frv_elf_merge_private_bfd_data): Likewise.
(ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as
0x4000 for newly-added elf32-frvfdpic.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.2423.2.28&r2=1.2423.2.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/config.bfd.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.152.6.4&r2=1.152.6.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/configure.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.166.4.5&r2=1.166.4.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/configure.in.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.143.4.5&r2=1.143.4.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-frv.c.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.12.4.3&r2=1.12.4.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/targets.c.diff?cvsroot=src&only_with_tag=binutils-2_15-branch&r1=1.103.6.2&r2=1.103.6.3