binutils-gdb/ld/emultempl
Jon TURNEY 74fffc3982 Change pe/coff build-id section name to '.buildid'
The section name used to store the build-id on pe/coff is arbitrary, as it's
contents should be located using the pe/coff header's DataDirectory debug data
entry, not by using the section name.

But '.build-id' is not a good choice for that section name, as it is 9
characters long, and hence truncated to 8 characters when
--disable-long-section-names is used (which is the default, when producing an
executable with no dwarf debug sections, e.g. using ld --strip-all --build-id)

This truncation then breaks 'objcopy --only-keep-debug', which does use the
section name, due to concerns that keeping an arbitrary section which contains
the debug directory is not sensible.

binutils/ChangeLog

2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>

	* objcopy.c (is_nondebug_keep_contents_section): Change pe/coff
	build-id section name from '.build-id' to '.buildid'.

ld/ChangeLog

2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>

	* emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
	build-id section name from '.build-id' to '.buildid'.
	* emultempl/pep.em (write_build_id, setup_build_id): Ditto.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2014-09-08 17:54:20 +01:00
..
aarch64elf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
aix.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
alphaelf.em Fix alpha-elf relaxation 2014-04-21 08:14:18 -07:00
armcoff.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
armelf.em ARM/ld: Correct macro formatting in armelf.em 2014-08-20 20:17:18 +01:00
astring.sed
avrelf.em
beos.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
bfin.em
cr16elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
crxelf.em
elf32.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
elf-generic.em
epiphanyelf_4x4.em
genelf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
generic.em Fix typo. 2014-05-27 19:05:18 -04:00
gld960.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
gld960c.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
hppaelf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ia64elf.em
irix.em
linux.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
lnk960.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
m68hc1xelf.em
m68kcoff.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
m68kelf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
metagelf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
mipself.em
mmix-elfnmmo.em
mmixelf.em
mmo.em
nds32elf.em Make bfd.link_next field a union 2014-06-13 19:10:57 +09:30
needrelax.em
netbsd.em
nios2elf.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ostring.sed
pe.em Change pe/coff build-id section name to '.buildid' 2014-09-08 17:54:20 +01:00
pep.em Change pe/coff build-id section name to '.buildid' 2014-09-08 17:54:20 +01:00
ppc32elf.em Rewrite ppc32 backend .sdata and .sdata2 handling 2014-05-20 13:13:23 +09:30
ppc64elf.em Index PowerPC64 linker generated .eh_frame in .eh_frame_hdr 2014-08-22 10:09:09 +09:30
README
rxelf.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
scoreelf.em
sh64elf.em Linker part of PR16563 fix 2014-08-14 13:49:31 +09:30
solaris2.em
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
spuelf.em bfd target vector rationalisation 2014-05-02 20:09:40 +09:30
sunos.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
tic6xdsbt.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
ticoff.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
vanilla.em Add new link-map-text hook and RX auto-vector support. 2014-05-27 17:14:49 -04:00
vms.em Return error status from bfd_elf_discard_info. 2014-08-18 09:33:35 +09:30
vxworks.em
xtensaelf.em Fix xtensa ld segfault when linking linux modules 2014-07-10 19:22:07 +04:00
z80.em

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2014 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.