Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Nick Clifton <nickc@redhat.com>
Cc: dj@redhat.com, gdb-patches@sourceware.org
Subject: Re: RFA: RL78: Fix simulation of G13 multiply/divide peripheral
Date: Mon, 23 Mar 2015 08:19:00 -0000	[thread overview]
Message-ID: <20150323081833.GC8039@vapier> (raw)
In-Reply-To: <87fv91nfy3.fsf@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

On 19 Mar 2015 15:51, Nick Clifton wrote:
>   The patch below fixes a problem with the RL78 simulator simulation of
>   the G13 multiply/divide peripheral.  Namely the MDB register is not
>   32-bit aligned so the mem_put_si and mem_get_si functions cannot be
>   used with it.  Instead the value has to be split up into two 16-bit
>   parts and the mem_{get|put}_hi functions used.
> 
>   In addition the patch adds support for the new G13 and G14 flags in
>   RL78 ELF headers.  If one of these flag bits is present then the patch
>   selects the appropriate G10/G13/G14 emulation mode.

did you forgot to commit some other change ?  rl78 fails to build now:

gcc -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          
-DDEFAULT_INLINE=0           -Wall   -I. -I../../../../sim/rl78 -I../common 
-I../../../../sim/rl78/../common -I../../include 
-I../../../../sim/rl78/../../include -I../../bfd 
-I../../../../sim/rl78/../../bfd -I../../opcodes 
-I../../../../sim/rl78/../../opcodes  -g -O2 -c -o load.o -MT load.o -MMD -MP 
-MF .deps/load.Tpo ../../../../sim/rl78/load.c
../../../../sim/rl78/load.c: In function 'rl78_load':
../../../../sim/rl78/load.c:95:3: error: 'rl78_g10_mode' undeclared (first use 
in this function)
   rl78_g10_mode = 0;
   ^
../../../../sim/rl78/load.c:95:3: note: each undeclared identifier is reported 
only once for each function it appears in
../../../../sim/rl78/load.c:99:16: error: 'g13_multiply' undeclared (first use 
in this function)
     case E_FLAG_RL78_G13: g13_multiply = 1; break;
                ^
Makefile:530: recipe for target 'load.o' failed
make[2]: *** [load.o] Error 1

i don't see either of those identifiers in the current master.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-03-23  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 15:51 Nick Clifton
2015-03-19 15:56 ` DJ Delorie
2015-03-19 18:42 ` Mike Frysinger
2015-03-20 10:28   ` Nicholas Clifton
2015-03-20 15:40     ` Mike Frysinger
2015-03-23  8:19 ` Mike Frysinger [this message]
2015-03-23 11:42   ` Nicholas Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150323081833.GC8039@vapier \
    --to=vapier@gentoo.org \
    --cc=dj@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox