PERFORCE change 180719 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sat Jul 10 04:31:36 UTC 2010


http://p4web.freebsd.org/@@180719?ac=10

Change 180719 by gonzo at 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;
 	}
     }


More information about the p4-projects mailing list