Date: Thu, 24 Jun 2010 16:30:47 +0530 From: "Jayachandran C." <c.jayachandran@gmail.com> To: Juli Mallett <jmallett@freebsd.org>, freebsd-mips@freebsd.org, Randall Stewart <rrs@lakerest.net> Subject: Some fixes to the mips64 merge so far. Message-ID: <AANLkTiliCPJ4kek7PkGiy-d1zWKGiurNxydNYgOXpHEQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0016e64641061180600489c4912a Content-Type: text/plain; charset=ISO-8859-1 I'm resending this patch as it has been updated, this has the following fixes. lib/libc/mips/sys/brk.S lib/libc/mips/sys/sbrk.S - use PTR_WORD for __curbrk and minbrk instead of .word, these have to be 64-bit on n64 gnu/usr.bin/binutils/ld/elf32ltsmipn32_fbsd.sh gnu/usr.bin/binutils/ld/elf32btsmipn32_fbsd.sh - add an alignment of 8 for sections. The default alignment of of 4 for n32 causes _end to be word aligned, which will be returned by sbrk(). This will make the current implementation of malloc to crash. I've reported this, but meantime this is probably a safe change. Let me know if there are any comments. Thanks, JC. --0016e64641061180600489c4912a Content-Type: text/plain; charset=US-ASCII; name="n64-n32-fixes.patch" Content-Disposition: attachment; filename="n64-n32-fixes.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gath59fs0 SW5kZXg6IGdudS91c3IuYmluL2JpbnV0aWxzL2xkL2VsZjMyYnRzbWlwbjMyX2Zic2Quc2gKPT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PQotLS0gZ251L3Vzci5iaW4vYmludXRpbHMvbGQvZWxmMzJidHNtaXBuMzJfZmJzZC5z aAkocmV2aXNpb24gMjA5NTAwKQorKysgZ251L3Vzci5iaW4vYmludXRpbHMvbGQvZWxmMzJidHNt aXBuMzJfZmJzZC5zaAkod29ya2luZyBjb3B5KQpAQCAtMiwzICsyLDQgQEAKIC4gJHtzcmNkaXJ9 L2VtdWxwYXJhbXMvZWxmMzJidHNtaXBuMzIuc2gKIC4gJHtzcmNkaXJ9L2VtdWxwYXJhbXMvZWxm X2Zic2Quc2gKIEdFTkVSQVRFX1BJRV9TQ1JJUFQ9eWVzCitBTElHTk1FTlQ9OApJbmRleDogZ251 L3Vzci5iaW4vYmludXRpbHMvbGQvZWxmMzJsdHNtaXBuMzJfZmJzZC5zaAo9PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t LSBnbnUvdXNyLmJpbi9iaW51dGlscy9sZC9lbGYzMmx0c21pcG4zMl9mYnNkLnNoCShyZXZpc2lv biAyMDk1MDApCisrKyBnbnUvdXNyLmJpbi9iaW51dGlscy9sZC9lbGYzMmx0c21pcG4zMl9mYnNk LnNoCSh3b3JraW5nIGNvcHkpCkBAIC0yLDMgKzIsNCBAQAogLiAke3NyY2Rpcn0vZW11bHBhcmFt cy9lbGYzMmx0c21pcG4zMi5zaAogLiAke3NyY2Rpcn0vZW11bHBhcmFtcy9lbGZfZmJzZC5zaAog R0VORVJBVEVfUElFX1NDUklQVD15ZXMKK0FMSUdOTUVOVD04CkluZGV4OiBsaWIvbGliYy9taXBz L3N5cy9icmsuUwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaWIvbGliYy9taXBzL3N5cy9icmsuUwkocmV2aXNp b24gMjA5NTAwKQorKysgbGliL2xpYmMvbWlwcy9zeXMvYnJrLlMJKHdvcmtpbmcgY29weSkKQEAg LTQ3LDcgKzQ3LDcgQEAKIAogCS5kYXRhCiBfQ19MQUJFTChtaW5icmspOgotCS53b3JkCV9DX0xB QkVMKF9lbmQpCisJUFRSX1dPUkQJX0NfTEFCRUwoX2VuZCkKIAogCS50ZXh0CiBMRUFGKF9fc3lz X2JyaykKSW5kZXg6IGxpYi9saWJjL21pcHMvc3lzL3NicmsuUwo9PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaWIv bGliYy9taXBzL3N5cy9zYnJrLlMJKHJldmlzaW9uIDIwOTUwMCkKKysrIGxpYi9saWJjL21pcHMv c3lzL3NicmsuUwkod29ya2luZyBjb3B5KQpAQCAtNDYsNyArNDYsNyBAQAogCiAJLmRhdGEKIF9D X0xBQkVMKF9fY3VyYnJrKToKLQkud29yZAlfQ19MQUJFTChfZW5kKQorCVBUUl9XT1JECV9DX0xB QkVMKF9lbmQpCiAJLnRleHQKIAogTEVBRihfX3N5c19zYnJrKQo= --0016e64641061180600489c4912a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiliCPJ4kek7PkGiy-d1zWKGiurNxydNYgOXpHEQ>