Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 16:02:52 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   patch - bsdlabel support on MIPS
Message-ID:  <AANLkTi=ZwWbSbfJOiFb5NnF7q71stPJoVmLcOjQrfdUH@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0016e65bcd60f0bbd10490d6aa70
Content-Type: text/plain; charset=ISO-8859-1

Here are two patches to enable mips support for bsdlabel(8). Without
these we need to call bsdlabel with '-m i386' or similar to make it
work on MIPS.  The first patch is needed, but the second one provides
'-m mips' support for bsdlabel.

Comments welcome,  especially on the second one.

JC.

--0016e65bcd60f0bbd10490d6aa70
Content-Type: text/x-patch; charset=US-ASCII; name="sys-disklabel.patch"
Content-Disposition: attachment; filename="sys-disklabel.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gee23a2w0

SW5kZXg6IHN5cy9zeXMvZGlza2xhYmVsLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL3N5cy9kaXNrbGFi
ZWwuaAkocmV2aXNpb24gMjEyOTQ4KQorKysgc3lzL3N5cy9kaXNrbGFiZWwuaAkod29ya2luZyBj
b3B5KQpAQCAtNTIsNyArNTIsNyBAQAogCiAvKiBYWFggdGhlc2Ugc2hvdWxkIGJlIGRlZmluZWQg
cGVyIGNvbnRyb2xsZXIgKG9yIGRyaXZlKSBlbHNld2hlcmUsIG5vdCBoZXJlISAqLwogI2lmIGRl
ZmluZWQoX19pMzg2X18pIHx8IGRlZmluZWQoX19hbWQ2NF9fKSB8fCBkZWZpbmVkKF9fYXJtX18p
IHx8IFwKLSAgICBkZWZpbmVkKF9faWE2NF9fKSB8fCBkZWZpbmVkKF9fcG93ZXJwY19fKQorICAg
IGRlZmluZWQoX19pYTY0X18pIHx8IGRlZmluZWQoX19wb3dlcnBjX18pIHx8IGRlZmluZWQoX19t
aXBzX18pCiAjZGVmaW5lIExBQkVMU0VDVE9SCTEJCQkvKiBzZWN0b3IgY29udGFpbmluZyBsYWJl
bCAqLwogI2RlZmluZSBMQUJFTE9GRlNFVAkwCQkJLyogb2Zmc2V0IG9mIGxhYmVsIGluIHNlY3Rv
ciAqLwogI2VuZGlmCg==
--0016e65bcd60f0bbd10490d6aa70
Content-Type: text/x-patch; charset=US-ASCII; name="bsdlabel.patch"
Content-Disposition: attachment; filename="bsdlabel.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gee23uut1

SW5kZXg6IHNiaW4vYnNkbGFiZWwvYnNkbGFiZWwuYwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzYmluL2JzZGxh
YmVsL2JzZGxhYmVsLmMJKHJldmlzaW9uIDIxMjk0OCkKKysrIHNiaW4vYnNkbGFiZWwvYnNkbGFi
ZWwuYwkod29ya2luZyBjb3B5KQpAQCAtMTcyLDYgKzE3Miw3IEBACiAJCQkJaWYgKCFzdHJjbXAo
b3B0YXJnLCAiaTM4NiIpIHx8CiAJCQkJICAgICFzdHJjbXAob3B0YXJnLCAiYW1kNjQiKSB8fAog
CQkJCSAgICAhc3RyY21wKG9wdGFyZywgImlhNjQiKSB8fAorCQkJCSAgICAhc3RyY21wKG9wdGFy
ZywgIm1pcHMiKSB8fAogCQkJCSAgICAhc3RyY21wKG9wdGFyZywgInBjOTgiKSkgewogCQkJCQls
YWJlbHNvZmZzZXQgPSAxOwogCQkJCQlsYWJlbG9mZnNldCA9IDA7CkluZGV4OiBzYmluL2JzZGxh
YmVsL2JzZGxhYmVsLjgKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc2Jpbi9ic2RsYWJlbC9ic2RsYWJlbC44CShy
ZXZpc2lvbiAyMTI5NDgpCisrKyBzYmluL2JzZGxhYmVsL2JzZGxhYmVsLjgJKHdvcmtpbmcgY29w
eSkKQEAgLTEwOSw3ICsxMDksNyBAQAogLk5tCiB0byB1c2UgYSBsYXlvdXQgc3VpdGFibGUgZm9y
IGEgZGlmZmVyZW50IGFyY2hpdGVjdHVyZS4KIEN1cnJlbnQgdmFsaWQgdmFsdWVzIGFyZQotLkNt
IGkzODYgLCBhbWQ2NCAsIGlhNjQgLCBwYzk4ICwKKy5DbSBpMzg2ICwgYW1kNjQgLCBpYTY0ICwg
bWlwcyAsIHBjOTggLAogYW5kCiAuQ20gYWxwaGEgLgogSWYgdGhpcyBvcHRpb24gaXMgb21pdHRl
ZCwK
--0016e65bcd60f0bbd10490d6aa70--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=ZwWbSbfJOiFb5NnF7q71stPJoVmLcOjQrfdUH>