This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] [MSP430] Fix open syscall not working in simulator
- From: Nick Clifton <nickc at redhat dot com>
- To: Jozef Lawrynowicz <jozef dot l at somniumtech dot com>, binutils at sourceware dot org
- Date: Tue, 29 Aug 2017 14:12:08 +0100
- Subject: Re: [PATCH] [MSP430] Fix open syscall not working in simulator
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D6C8A5F7B3
- References: <c621f1b1-bd4a-a8dd-2b7b-d4685998dcb6@somniumtech.com>
Hi Jozef,
> The syscall "open" does not execute correctly in the msp430 simulator.
> "open" is a variadic function, so the arguments are passed partly in
> registers, and partly on the stack. The other syscalls are regular
> functions with arguments that fit in registers.
Approved and applied.
Note - for future reference - the simulator is part of GDB not the
binutils, so you need to submit patches to gdb@sourceware.org...
Cheers
Nick