Date: Sat, 10 Jul 2010 04:31:35 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 180719 for review Message-ID: <201007100431.o6A4VZqb066264@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180719?ac=10 Change 180719 by gonzo@gonzo_figaro on 2010/07/10 04:31:21 Use _raw_size as the rest of architectures. Otherwise memory corruption happens while trying to provide -dynamic-linker longer then length of ELF_DYNAMIC_INTERPRETER. Affected files ... .. //depot/projects/avr32/src/contrib/binutils/bfd/elf32-avr32.c#4 edit Differences ... ==== //depot/projects/avr32/src/contrib/binutils/bfd/elf32-avr32.c#4 (text+ko) ==== @@ -1132,7 +1132,7 @@ { s = bfd_get_section_by_name(dynobj, ".interp"); BFD_ASSERT(s != NULL); - s->_cooked_size = sizeof(ELF_DYNAMIC_INTERPRETER); + s->_raw_size = sizeof(ELF_DYNAMIC_INTERPRETER); s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007100431.o6A4VZqb066264>