]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/testsuite/ld-elfvsb/elfvsb.exp
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>
Wed, 27 Apr 2016 16:13:10 +0000 (09:13 -0700)
commit91f8bf69a526912f86da81070407bba6a050e27f
treed0552fd3e18572c598e1f2f1b7ee79580f0aa546
parent11cf4ffb5e256d268a8f4cea0fc88a0a46bf824c
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.

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