LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Robert Millan<rmh@a...>
    Date: Thu Jun 30 11:46:10 CEST 2005
    Subject: [openrisc] binutils, gcc, or1ksim patches #108-#127, gdb patch
    Top
    On Thu, Jun 30, 2005 at 02:31:04AM +0200, Matjaz Breskvar wrote:
    > or1ksim patches #108-#127 are all accepted (gdb one provided that we don't
    > get a negative feedback).
    >
    > i'm not sure about #107, but i don't feel strongly against it...
    >
    > i've alredy applied the binutils and gcc config patches, so as far as i know
    > my patch queue is now empty (sorry Robert that you waited so long).

    No problem. Perhaps I should be using the tracker instead of sending patches
    to the list?

    > feel
    > free to correct me if i missed something, somewhere...

    Yes, you missed a pair of them. In binutils, you applied the e_machine patch
    but not the "or32-linux-gnu" one. In gcc-3.2, you applied the "or32-linux-gnu"
    patch but not the YYMALLOC one (fixes broken build).

    gcc-3.4 is fine (except the l.load32u thing for which I didn't send a patch).

    I'm re-attaching both so you don't have to search again.

    --
    Robert Millan
    -------------- next part --------------
    Index: bfd/config.bfd
    ===================================================================
    RCS file: /home/oc/cvs/or1k/binutils/bfd/config.bfd,v
    retrieving revision 1.8
    diff -u -r1.8 config.bfd
    --- bfd/config.bfd 19 Sep 2002 14:58:27 -0000 1.8
    +++ bfd/config.bfd 30 Jun 2005 09:15:12 -0000
    @@ -765,7 +765,7 @@
    targ_underscore=yes
    ;;

    - or32-*-rtems | or32-*-elf | or32-*-*linux)
    + or32-*-rtems | or32-*-elf | or32-*-*linux*)
    targ_defvec=bfd_elf32_or32_big_vec
    ;;

    Index: gas/configure
    ===================================================================
    RCS file: /home/oc/cvs/or1k/binutils/gas/configure,v
    retrieving revision 1.9
    diff -u -r1.9 configure
    --- gas/configure 19 Sep 2002 14:58:28 -0000 1.9
    +++ gas/configure 30 Jun 2005 09:15:22 -0000
    @@ -2533,7 +2533,7 @@
    or32-*-rtems*) fmt=elf ;;
    or32-*-coff) fmt=coff ;;
    or32-*-elf) fmt=elf ;;
    - or32-*-*linux) fmt=elf ;;
    + or32-*-*linux*) fmt=elf ;;
    pj*) fmt=elf ;;
    ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*)
    fmt=coff em=pe ;;
    Index: gas/configure.in
    ===================================================================
    RCS file: /home/oc/cvs/or1k/binutils/gas/configure.in,v
    retrieving revision 1.8
    diff -u -r1.8 configure.in
    --- gas/configure.in 19 Sep 2002 14:58:28 -0000 1.8
    +++ gas/configure.in 30 Jun 2005 09:15:23 -0000
    @@ -380,7 +380,7 @@
    or32-*-rtems*) fmt=elf ;;
    or32-*-coff) fmt=coff ;;
    or32-*-elf) fmt=elf ;;
    - or32-*-*linux) fmt=elf ;;
    + or32-*-*linux*) fmt=elf ;;
    pj*) fmt=elf ;;
    ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*)
    fmt=coff em=pe ;;
    Index: ld/configure.tgt
    ===================================================================
    RCS file: /home/oc/cvs/or1k/binutils/ld/configure.tgt,v
    retrieving revision 1.7
    diff -u -r1.7 configure.tgt
    --- ld/configure.tgt 19 Sep 2002 14:58:29 -0000 1.7
    +++ ld/configure.tgt 30 Jun 2005 09:15:24 -0000
    @@ -371,7 +371,7 @@
    openrisc-*-*) targ_emul=elf32openrisc ;;
    or32-*-coff) targ_emul=or32 ;;
    or32-*-elf) targ_emul=or32elf ;;
    -or32-*-*linux) targ_emul=or32elf ;;
    +or32-*-*linux*) targ_emul=or32elf ;;
    or32-*-rtems) targ_emul=or32elf ;;
    pdp11-*-*) targ_emul=pdp11 ;;
    pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
    -------------- next part --------------
    Index: gcc/c-parse.in
    ===================================================================
    RCS file: /home/oc/cvs/or1k/gcc-3.2.3/gcc/c-parse.in,v
    retrieving revision 1.1.1.1
    diff -u -r1.1.1.1 c-parse.in
    --- gcc/c-parse.in 14 Feb 2004 17:39:24 -0000 1.1.1.1
    +++ gcc/c-parse.in 30 Jun 2005 09:20:44 -0000
    @@ -62,6 +62,9 @@
    /* Cause the "yydebug" variable to be defined. */
    #define YYDEBUG 1 +/* malloc is poisoned in system.h. */ +#define YYMALLOC really_call_malloc + /* Rename the "yyparse" function so that we can override it elsewhere. */ #define yyparse yyparse_1 %} Index: gcc/tradcif.y =================================================================== RCS file: /home/oc/cvs/or1k/gcc-3.2.3/gcc/tradcif.y,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 tradcif.y --- gcc/tradcif.y 14 Feb 2004 17:41:27 -0000 1.1.1.1 +++ gcc/tradcif.y 30 Jun 2005 09:20:45 -0000 @@ -28,6 +28,9 @@ #include "tradcpp.h" #include <setjmp.h> +/* malloc is poisoned in system.h. */ +#define YYMALLOC really_call_malloc + static int yylex PARAMS ((void)); static void yyerror PARAMS ((const char *msgid)) ATTRIBUTE_NORETURN; Index: gcc/cp/parse.y =================================================================== RCS file: /home/oc/cvs/or1k/gcc-3.2.3/gcc/cp/parse.y,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 parse.y --- gcc/cp/parse.y 14 Feb 2004 17:42:34 -0000 1.1.1.1 +++ gcc/cp/parse.y 30 Jun 2005 09:20:47 -0000 @@ -45,6 +45,9 @@ #include "toplev.h" #include "ggc.h" +/* malloc is poisoned in system.h. */ +#define YYMALLOC really_call_malloc + extern struct obstack permanent_obstack; /* Like YYERROR but do call yyerror. */

    Follow upAuthor
    [openrisc] binutils, gcc, or1ksim patches #108-#127, gdb patchMatjaz Breskvar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.