diff options
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 = "" |