diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2005-07-21 11:10:50 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-21 11:10:50 +0000 |
commit | 48ceec0f1521da502f3fd5ca1f8f9a6158c32bb5 (patch) | |
tree | c1c9352b5fdd3568afe74da417219ceab3adc1f6 /packages/modutils | |
parent | f7f75893eb029ffec166c6db9c0749b317246e5c (diff) |
added MIPS related change to gcc4.patch - now it is buildable if host system
has gcc4 as default (like it is in Debian 'sid')
Diffstat (limited to 'packages/modutils')
-rw-r--r-- | packages/modutils/files/gcc4.patch | 13 | ||||
-rw-r--r-- | packages/modutils/modutils-cross_2.4.27.bb | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/modutils/files/gcc4.patch b/packages/modutils/files/gcc4.patch index 187a677158..e204898f05 100644 --- a/packages/modutils/files/gcc4.patch +++ b/packages/modutils/files/gcc4.patch @@ -51,3 +51,16 @@ xrealloc(a_hdr, a_hdr->total_size); p = (char *)a_hdr + a_hdr->symbol_off; memcpy(p, symbols, a_hdr->symbols*a_hdr->symbol_size); +--- modutils-2.4.27/obj/obj_mips.c.orig 2003-04-05 00:47:17.000000000 +0200 ++++ modutils-2.4.27/obj/obj_mips.c 2005-07-21 12:51:48.000000000 +0200 +@@ -244,7 +244,9 @@ + archdata_sec->header.sh_size = 0; + sec = obj_find_section(f, "__dbe_table"); + if (sec) { +- ad = (struct archdata *) (archdata_sec->contents) = xmalloc(sizeof(*ad)); ++/* ad = (struct archdata *) (archdata_sec->contents) = xmalloc(sizeof(*ad));*/ ++ archdata_sec->contents = xmalloc(sizeof(*ad)); ++ ad = (struct archdata *) (archdata_sec->contents); + memset(ad, 0, sizeof(*ad)); + archdata_sec->header.sh_size = sizeof(*ad); + ad->__start___dbe_table = sec->header.sh_addr; diff --git a/packages/modutils/modutils-cross_2.4.27.bb b/packages/modutils/modutils-cross_2.4.27.bb index c990b354f3..2b301d7d09 100644 --- a/packages/modutils/modutils-cross_2.4.27.bb +++ b/packages/modutils/modutils-cross_2.4.27.bb @@ -1,6 +1,6 @@ SECTION = "base" include modutils_${PV}.bb -PR = "r5" +PR = "r6" inherit cross S = "${WORKDIR}/modutils-${PV}" DEPENDS = "" |