--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-03-18
12:27 ---
Subject: Bug 11396
CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2010-03-18 12:27:15
Modified files:
bfd: ChangeLog libcoff-in.h libcoff.h peXX
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-03-18
13:16 ---
Subject: Bug 11384
CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-03-18 13:15:46
Modified files:
ld : ChangeLog
ld/emultempl : s
This patch:
http://sourceware.org/ml/binutils/2010-02/msg00477.html
doesn't cover .preinit_array.
--
Summary: Linker shouldn't combine .preinit_array
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
--- Additional Comments From hjl dot tools at gmail dot com 2010-03-18
18:31 ---
[...@gnu-6 tmp]$ cat x.s
.section.preinit_array.01000,"aw",%progbits
.align 4
.word 0
[...@gnu-6 tmp]$ gcc -c x.s
[...@gnu-6 tmp]$ ld -shared x.o
[...@gnu-6 tmp]$ readelf -S
For a PE image, "objcopy --add-gnu-debuglink" is used to add a debug link
section in PE image.
>From PeCoff's spec, the "debug link" section's (MSFT point to PDB path) should
be described in "Debug Directory" in Data Directory in PE optional header. You
could use objdump -p UsbBusDxe.MSFT.efi,