2009-12-06 Danny Backx <dannybackx@users.sourceforge.net>
commit37c206a6c79d12f55a143ea0c3cc9bd2e7af1127
authordannybackx <dannybackx@d7810a3d-100a-0410-8641-c3624a9c11f1>
Sun, 6 Dec 2009 09:44:35 +0000 (6 09:44 +0000)
committerdannybackx <dannybackx@d7810a3d-100a-0410-8641-c3624a9c11f1>
Sun, 6 Dec 2009 09:44:35 +0000 (6 09:44 +0000)
tree93d7ada5d9cad1d247b7a1cbd53e35413a04d9c0
parent2aa549b83e15d3aa84233899da7eaa2d69194f10
2009-12-06  Danny Backx  <dannybackx@users.sourceforge.net>

* ld/emultempl/pe.em, ld/scripttempl/armcoff.sc,
ld/scripttempl/pep.sc, bfd/peXXigen.c: Work by Kai Tietz to fix
so-called version 2 pseudo relocation.
* ld/scripttempl/pe.sc: port Kai's work to the pe.sc file.
* ld/scripttempl/pe.sc: move the BSS stuff inside the .data section
instead of in its own .bss . This appears to be a Windows Mobile 6.1
requirement.
* bfd/coff-arm.c, bfd/libpei.h: Avoid calling the
coff_arm_final_link_postscript, we need
bfd_coff_final_link_postscript.
* bfd/cofflink.c: Don't use bfd_coff_link_output_has_begun(), it forgets
to output the debug_info field of the first file linked.

git-svn-id: svn://svn.code.sf.net/p/cegcc/code/trunk@1402 d7810a3d-100a-0410-8641-c3624a9c11f1
cegcc/src/binutils/ChangeLog.ce
cegcc/src/binutils/bfd/coff-arm.c
cegcc/src/binutils/bfd/cofflink.c
cegcc/src/binutils/bfd/libpei.h
cegcc/src/binutils/bfd/peXXigen.c
cegcc/src/binutils/ld/emultempl/pe.em
cegcc/src/binutils/ld/scripttempl/armcoff.sc
cegcc/src/binutils/ld/scripttempl/pe.sc
cegcc/src/binutils/ld/scripttempl/pep.sc