This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src bfd/ChangeLog bfd/elf32-spu.c bfd/elf32-sp ...
- From: tsmigiel at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 5 Aug 2009 20:40:34 -0000
- Subject: src bfd/ChangeLog bfd/elf32-spu.c bfd/elf32-sp ...
CVSROOT: /cvs/src
Module name: src
Changes by: tsmigiel@sourceware.org 2009-08-05 20:40:34
Modified files:
bfd : ChangeLog elf32-spu.c elf32-spu.h
ld : ChangeLog
ld/emulparams : elf32_spu.sh
ld/emultempl : spuelf.em
ld/testsuite : ChangeLog
Added files:
ld/testsuite/ld-spu: fixup.d fixup.s
Log message:
bfd/
* elf32-spu.h (spu_elf_params): Add member emit_fixups.
(spu_elf_size_sections): Declare prototype.
* elf32-spu.c (spu_link_hash_table): Add member sfixup.
(FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros.
(spu_elf_emit_fixup): New function.
(spu_elf_relocate_section): Emit fixup for each SPU_ADDR32.
(spu_elf_size_sections): New function.
ld/
* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
section and __fixup_start symbol.
* emultempl/spuelf.em (params): Initialize emit_fixups member.
(spu_before_allocation): Call spu_elf_size_sections.
(OPTION_SPU_EMIT_FIXUPS): Define.
(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
* ld.texinfo (--emit-fixups): Document.
ld/testsuite/
* ld-spu/fixup.d: New.
* ld-spu/fixup.s: New.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4719&r2=1.4720
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-spu.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-spu.h.diff?cvsroot=src&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2017&r2=1.2018
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emulparams/elf32_spu.sh.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/spuelf.em.diff?cvsroot=src&r1=1.39&r2=1.40
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1141&r2=1.1142
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-spu/fixup.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-spu/fixup.s.diff?cvsroot=src&r1=NONE&r2=1.1