OpenSolaris

Printable Version Enter a New Search
Bug ID 6310466
Synopsis gcc wants inline SPARC assembly in the kernel
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:other
Keywords tonic-gcc
Responsible Engineer Keith Wesolowski
Reported Against
Duplicate Of
Introduced In solaris_2.0
Commit to Fix snv_27
Fixed In snv_27
Release Fixed solaris_nevada(snv_27)
Related Bugs 6310483
Submit Date 12-August-2005
Last Update Date 24-November-2005
Description
gcc doesn't understand the inline assembly format used by
Studio, so we need to implement the same functions in the
gcc format.  The minimum required functions are:

doflush
sync_instruction_memory (for boot only)
threadp
caller
callee

Note that threadp could be implemented as

extern register struct _kthread_t *threadp __asm__("g7");

However, the assembler doesn't like this.
Work Around
N/A
Comments
N/A