[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community Supercomputing for Everyone 2013-06-20T06:42:54+00:00 https://parallella.org/forums/feed.php?f=23&t=377 2013-06-20T06:42:54+00:00 2013-06-20T06:42:54+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2280#p2280 <![CDATA[Re: Minimal c program]]>

Statistics: Posted by LamsonNguyen — Thu Jun 20, 2013 6:42 am


]]>
2013-06-19T14:44:58+00:00 2013-06-19T14:44:58+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2270#p2270 <![CDATA[Re: Minimal c program]]> Statistics: Posted by ysapir — Wed Jun 19, 2013 2:44 pm


]]>
2013-06-19T12:53:31+00:00 2013-06-19T12:53:31+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2266#p2266 <![CDATA[Re: Minimal c program]]> Statistics: Posted by aolofsson — Wed Jun 19, 2013 12:53 pm


]]>
2013-06-19T10:57:44+00:00 2013-06-19T10:57:44+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2265#p2265 <![CDATA[Re: Minimal c program]]> Statistics: Posted by yuumei — Wed Jun 19, 2013 10:57 am


]]>
2013-06-17T18:37:47+00:00 2013-06-17T18:37:47+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2251#p2251 <![CDATA[Re: Minimal c program]]> Statistics: Posted by timpart — Mon Jun 17, 2013 6:37 pm


]]>
2013-06-17T13:07:24+00:00 2013-06-17T13:07:24+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2250#p2250 <![CDATA[Re: Minimal c program]]> Statistics: Posted by yuumei — Mon Jun 17, 2013 1:07 pm


]]>
2013-06-17T11:46:38+00:00 2013-06-17T11:46:38+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2249#p2249 <![CDATA[Re: Minimal c program]]> Statistics: Posted by ysapir — Mon Jun 17, 2013 11:46 am


]]>
2013-06-17T07:54:44+00:00 2013-06-17T07:54:44+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2246#p2246 <![CDATA[Re: Minimal c program]]> Statistics: Posted by yuumei — Mon Jun 17, 2013 7:54 am


]]>
2013-06-16T15:55:35+00:00 2013-06-16T15:55:35+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2240#p2240 <![CDATA[Re: Minimal c program]]>
In C, the leading underscore in a function's name is added implicitly by the compiler. So, a function func() in your code is renamed to _func() internally, and this is how it appears in the object file (when you do e-objdump these are the names you see). Thus, you should call your startup function as "start()" instead.

The bigger problem is that on the Epiphany, the start() function, being the first to be invoked after reset (or SYNC interrupt, to be more precise) should be mapped to the first vector in the IVT (address 0x00000000). Thus, the function itself should contain only one instruction which is the "b <addr-of-the-actual-function>" branch instruction. Alternatively, you should put that "b" instruction in the IVT manually (as a replacement for CRT0) and use your start() as the target address.

The current program flow, with the default stdlib is:

_start() - the IVT entry
.normal_start() - the actual start() function, which merely jumps to:
_epiphany_start() - initialization of stack and buffers, then jump to
main()

and you can see how it's done in file "libgloss/epiphany/crt0.S" in the epiphany-sourceware repo:

Statistics: Posted by ysapir — Sun Jun 16, 2013 3:55 pm


]]>
2013-06-16T13:46:23+00:00 2013-06-16T13:46:23+00:00 https://parallella.org/forums/viewtopic.php?t=377&p=2237#p2237 <![CDATA[Minimal c program]]> Statistics: Posted by yuumei — Sun Jun 16, 2013 1:46 pm


]]>