Update my e-mail address.
[binutils-gdb.git] / binutils / testsuite / binutils-all / debug_str.s
blob485d0cc3187e50fdc22aeb27d41001618d1497d1
1 /* This test is derived from a C source file which, when compiled by gcc
2 with debugging enabled, managed to create a .debug_str section whose
3 first string was ZLIB_VER_SUBVERSION. The code in bfd/compress.c
4 used to just check for the characters "ZLIB" at the start of a section
5 and then assume that the section was compressed. This meant that the BFD
6 library then processed the next 8 bytes as if they were the size of the
7 decompressed version of the section. Naturally with this test case the
8 resulting size was gigantic and consequently the library quickly ran out
9 of memory. */
11 .section .debug_str,"MS",@progbits,1
12 .string "ZLIB_VER_SUBREVISION 0"