Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1157773

Re: [PATCH] cris: Wire up missing syscalls

From Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
Newsgroups linux.kernel
Subject Re: [PATCH] cris: Wire up missing syscalls
Date 2015-06-03 17:30 +0200
Message-ID <pxiM9-54N-1@gated-at.bofh.it> (permalink)
References <pxisO-4He-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: Jesper Nilsson <jespern@axis.com>
> Date: Wed, 3 Jun 2015 17:04:26 +0200

> On Wed, Jun 03, 2015 at 01:36:47PM +0200, Chen Gang wrote:
> >  - For v10, need we also use "sys*" instead of "_sys*"?
> 
> No, the trick here is that v10 and v32 uses different standards
> with regards to prefixing underscore. I'm hoping to fix that someday.

Not exactly, but almost; please let me fill in JFTR:

Most people probably guessed correctly that this is related to
building the CRIS v10 kernel with the *-elf toolchain (which has
the convention that symbols are prefixed with underscores for
cris-*-elf and crisv32-*-elf) while (IIUC) the CRIS v32 kernel
is built with the *-linux-gnu toolchain (which does not have any
symbol prefix for cris-*-linux-gnu crisv32-*-linux-gnu).

One Might Imagine that there'd be build machinery in place in
the kernel such that such a symbol prefix issue could be hidden,
like a header to include and using e.g. S(symbol) in all
assembly files.  (Actually some time ago I thought there already
was, but Jesper corrected me.)

brgds, H-P
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] cris: Wire up missing syscalls Hans-Peter Nilsson <hans-peter.nilsson@axis.com> - 2015-06-03 17:30 +0200
  Re: [PATCH] cris: Wire up missing syscalls Chen Gang <xili_gchen_5257@hotmail.com> - 2015-06-06 02:20 +0200
  Re: [PATCH] cris: Wire up missing syscalls Chen Gang <xili_gchen_5257@hotmail.com> - 2015-06-06 02:20 +0200

csiph-web