[patch][gold] Fix test in 64 bits
Rafael Espindola
espindola@google.com
Wed Sep 15 01:41:00 GMT 2010
More information about the Binutils mailing list
Wed Sep 15 01:41:00 GMT 2010
- Previous message (by thread): [patch][gold] Fix test in 64 bits
- Next message (by thread): [patch][gold] Fix test in 64 bits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> This test is failing on both 32-bit and 64-bit x86 builds: > > FAIL: memory_test.sh (exit: 1) > ============================== > > pattern " LOAD 0x00203c 0x0*00004000 0x0*0000603c > 0x0000\?2a 0x0000\?2a R E 0x1000" not found in file > memory_test.stdout. > > The program headers that it's trying to match (from memory_test.stdout): > > Program Headers: > Type Offset VirtAddr PhysAddr > FileSiz MemSiz Flg Align > LOAD 0x001000 0x0000000000000000 0x0000000000000000 > 0x000002 0x000002 R 0x1000 > LOAD 0x00112c 0x0000000000001000 0x000000000000012c > 0x000002 0x000002 R 0x1000 > LOAD 0x002000 0x0000000000005000 0x0000000000005000 > 0x000002 0x000002 R 0x1000 > LOAD 0x00203c 0x0000000000004000 0x000000000000603c > 0x000002 0x000002 R 0x1000 > > I've rebuilt binutils in the same build tree, so as far as I can tell, > the test is using an up-to-date readelf. This is really strange, none of segments are executable for example. I can reproduce the problem in my Fedora system at home. Not sure what changed, but the attached patch makes the test pass. Someone that knows the code better should check that this is really the expected output. > -cary > Cheers, -- Rafael Ávila de Espíndola -------------- next part -------------- A non-text attachment was scrubbed... Name: memory.patch Type: text/x-patch Size: 560 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20100915/93b71a10/attachment.bin>
- Previous message (by thread): [patch][gold] Fix test in 64 bits
- Next message (by thread): [patch][gold] Fix test in 64 bits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list