[Bug binutils/11396] objcopy adds IMAGE_FILE_RELOCS_STRIPPED for PIE

2010-03-18 Thread hjl dot tools at gmail dot com
--- 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

[Bug binutils/11384] missing EOF statement at... eof of ld/emultempl/sh64elf.em

2010-03-18 Thread nickc at redhat dot com
--- 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

[Bug ld/11398] New: Linker shouldn't combine .preinit_array

2010-03-18 Thread hjl dot tools at gmail dot com
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

[Bug ld/11398] Linker doesn't support priority with .preinit_array

2010-03-18 Thread hjl dot tools at gmail dot com
--- 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

[Bug binutils/11401] New: GNU debuglink section is not described in DEBUG entry in data directory in PE's optional header

2010-03-18 Thread ken dot lu at intel dot com
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,