Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
Fix bsd-user build errors after 8642c1b
Browse files Browse the repository at this point in the history
  LINK  sparc-bsd-user/qemu-sparc
bsd-user/main.o: In function `cpu_loop':
/home/sbruno/bsd/qemu/bsd-user/main.c:515: undefined reference to `cpu_sparc_exec'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:197: qemu-sparc] Error 1
gmake: *** [Makefile:204: subdir-sparc-bsd-user] Error 2

  LINK  i386-bsd-user/qemu-i386
bsd-user/main.o: In function `cpu_loop':
/home/sbruno/bsd/qemu/bsd-user/main.c:174: undefined reference to `cpu_x86_exec'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:197: qemu-i386] Error 1
gmake: *** [Makefile:204: subdir-i386-bsd-user] Error 2

Signed-off-by:  Sean Bruno <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
seanbruno authored and pm215 committed Aug 1, 2016
1 parent 69d4900 commit ded554c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bsd-user/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void cpu_loop(CPUX86State *env)
//target_siginfo_t info;

for(;;) {
trapnr = cpu_x86_exec(cs);
trapnr = cpu_exec(cs);
switch(trapnr) {
case 0x80:
/* syscall from int $0x80 */
Expand Down Expand Up @@ -512,7 +512,7 @@ void cpu_loop(CPUSPARCState *env)
//target_siginfo_t info;

while (1) {
trapnr = cpu_sparc_exec(cs);
trapnr = cpu_exec(cs);

switch (trapnr) {
#ifndef TARGET_SPARC64
Expand Down

0 comments on commit ded554c

Please sign in to comment.