This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ld: relax alignment requirements of compressed .debug_* section checks


This fixes a failure of the gabinormal linking test on some distros
(where e.g. crt1.o has a .debug_aranges section with larger alignment).

ld/testsuite/
2015-12-07  Jan Beulich  <jbeulich@suse.com>

	* ld-elf/gabiend.rt: Accept any alignment.
	* ld-elf/gabinormal.rt: Likewise.

--- 2015-12-07/ld/testsuite/ld-elf/gabiend.rt
+++ 2015-12-07/ld/testsuite/ld-elf/gabiend.rt
@@ -1,4 +1,4 @@
 #...
  +\[[0-9a-f]+\]: .*COMPRESSED
- +ZLIB, [0-9a-f]+, 1
+ +ZLIB, [0-9a-f]+, [1-9][0-9]*
 #pass
--- 2015-12-07/ld/testsuite/ld-elf/gabinormal.rt
+++ 2015-12-07/ld/testsuite/ld-elf/gabinormal.rt
@@ -1,4 +1,4 @@
 #...
  +\[[0-9a-f]+\]: .*COMPRESSED
- +ZLIB, [0-9a-f]+, 1
+ +ZLIB, [0-9a-f]+, [1-9][0-9]*
 #pass



Attachment: binutils-master-ld-compressed-debug-align.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]