]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Skip debug sections when estimating distances
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Apr 2016 16:13:10 +0000 (09:13 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 30 Apr 2016 12:56:34 +0000 (05:56 -0700)
commit805af9f6edbc8e1b1fa8fb6b30902decc5433bd0
treee0255ef9ca2b3b96e4ab3078e67ab7efabb22539
parent8c9e2af6c6556be31db02c5079a834283ae379e0
Skip debug sections when estimating distances

Skip debug sections when estimating distances between output sections
since compressed_size is used to compress debug sections and debug
sections aren't excluded from distances between output sections.

Backport from master

bfd/

PR ld/20006
* elf64-x86-64.c (elf_x86_64_convert_load): Skip debug sections
when estimating distances between output sections.

ld/

PR ld/20006
* testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
(visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
ELF targets.
bfd/ChangeLog
bfd/elf64-x86-64.c
ld/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp