2013-07-08T00:09:07 *** monstr_ has joined #rtems 2013-07-08T00:30:44 *** hiddenpearls has joined #rtems 2013-07-08T00:50:41 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T00:53:19 *** hiddenpearls has joined #rtems 2013-07-08T00:58:03 *** hiddenpearls has quit IRC (Ping timeout: 260 seconds) 2013-07-08T01:12:22 *** hiddenpearls has joined #rtems 2013-07-08T01:45:40 *** sebhub has joined #rtems 2013-07-08T01:46:08 good morning 2013-07-08T02:08:11 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-08T02:08:27 *** the9a3eedi has joined #rtems 2013-07-08T02:40:28 *** freenix has joined #rtems 2013-07-08T03:00:42 *** the9a3eedi has quit IRC (Ping timeout: 268 seconds) 2013-07-08T03:23:15 *** the9a3eedi has joined #rtems 2013-07-08T03:27:43 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-08T03:28:57 *** freenix has quit IRC (Ping timeout: 256 seconds) 2013-07-08T03:29:32 *** freenix has joined #rtems 2013-07-08T03:31:23 *** the9a3eedi has joined #rtems 2013-07-08T03:55:21 *** freenix has quit IRC (Quit: Leaving) 2013-07-08T04:07:01 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T04:18:39 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-08T04:45:45 *** hiddenpearls has joined #rtems 2013-07-08T05:30:20 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T05:49:57 *** mje_ has left #rtems 2013-07-08T06:25:18 *** hiddenpearls has joined #rtems 2013-07-08T06:45:07 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T06:52:30 *** hiddenpearls has joined #rtems 2013-07-08T07:06:44 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T07:07:38 *** arvind_khadri has joined #rtems 2013-07-08T07:18:46 *** MegaAlex|away has quit IRC (Ping timeout: 276 seconds) 2013-07-08T07:20:50 *** MegaAlex|away has joined #rtems 2013-07-08T08:27:00 *** sree has joined #rtems 2013-07-08T08:33:09 *** S_Somani has joined #rtems 2013-07-08T08:41:08 *** sree has quit IRC (Quit: Page closed) 2013-07-08T08:47:43 *** DrJoel has joined #rtems 2013-07-08T08:47:43 *** DrJoel has joined #rtems 2013-07-08T08:47:43 *** ChanServ sets mode: +o DrJoel 2013-07-08T08:47:58 peerst what's your email? I need to ask you a question offline? 2013-07-08T08:54:56 DrJoel: Hi, seeing you online after a long time :) 2013-07-08T08:55:29 sebhub: does the latest csb IRQ patch look ok? 2013-07-08T08:55:46 S_Somani: Yes.. have been on travel a LOT.. was in Munich for 11 days.. then back in time for holidays 2013-07-08T08:56:36 nice! 2013-07-08T08:58:24 no, the latest patch is not ok 2013-07-08T08:59:39 but it is close 2013-07-08T09:01:50 *** sree has joined #rtems 2013-07-08T09:24:49 *** MegaAlex|away has quit IRC (Ping timeout: 246 seconds) 2013-07-08T09:31:51 *** MegaAlex|away has joined #rtems 2013-07-08T09:32:45 drjoel: you still there? 2013-07-08T09:34:08 yep.. leaving for customer site in a few minutes but still here 2013-07-08T09:37:26 *** sree has quit IRC (Quit: Page closed) 2013-07-08T09:54:24 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-07-08T10:03:03 *** hiddenpearls has joined #rtems 2013-07-08T10:16:16 *** hiddenpearls has quit IRC (Ping timeout: 246 seconds) 2013-07-08T10:16:29 *** dhananjay has joined #rtems 2013-07-08T10:21:33 *** hiddenpearls has joined #rtems 2013-07-08T10:30:18 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T10:36:10 *** sebhub has quit IRC (Remote host closed the connection) 2013-07-08T10:41:34 *** MegaAlex|away has quit IRC (Ping timeout: 276 seconds) 2013-07-08T10:42:24 *** MegaAlex|away has joined #rtems 2013-07-08T11:14:04 *** monstr_ has quit IRC (Ping timeout: 276 seconds) 2013-07-08T11:20:19 *** S_Somani has quit IRC (Ping timeout: 246 seconds) 2013-07-08T12:22:36 *** hiddenpearls has joined #rtems 2013-07-08T12:34:27 *** DrJoel has quit IRC (Quit: REALITY.SYS Corrupted: Re-boot universe? (Y/N/Q)) 2013-07-08T13:02:10 *** vipulnayyar has joined #rtems 2013-07-08T13:14:04 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T13:16:42 *** hiddenpearls has joined #rtems 2013-07-08T13:20:10 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-07-08T13:36:08 *** hiddenpearls has quit IRC (Read error: Connection reset by peer) 2013-07-08T13:36:12 *** hiddenpearls1 has joined #rtems 2013-07-08T13:56:30 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-08T14:02:05 *** hiddenpearls has joined #rtems 2013-07-08T14:03:27 *** hiddenpearls has quit IRC (Client Quit) 2013-07-08T14:24:55 *** hiddenpearls has joined #rtems 2013-07-08T14:27:13 *** hiddenpearls has quit IRC (Client Quit) 2013-07-08T14:34:40 *** hiddenpearls has joined #rtems 2013-07-08T14:51:30 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T15:36:46 *** hiddenpearls has joined #rtems 2013-07-08T15:45:51 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-08T17:11:35 *** hiddenpearls has joined #rtems 2013-07-08T17:13:22 *** antgreen has quit IRC (Read error: Operation timed out) 2013-07-08T19:02:18 *** the9a3eedi has joined #rtems 2013-07-08T21:00:45 *** dhananjay has quit IRC (Ping timeout: 264 seconds) 2013-07-08T22:01:43 *** the9a3eedi has quit IRC (Ping timeout: 264 seconds) 2013-07-08T23:07:54 *** hiddenpearls has joined #rtems 2013-07-08T23:28:38 *** dhananjay has joined #rtems 2013-07-08T23:34:57 *** dhananjay has quit IRC (Ping timeout: 264 seconds) 2013-07-08T23:39:10 *** dhananjay has joined #rtems 2013-07-08T23:42:31 *** the9a3eedi has joined #rtems 2013-07-08T23:47:16 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-09T00:17:33 *** monstr_ has joined #rtems 2013-07-09T00:44:41 *** dhananjay has joined #rtems 2013-07-09T00:50:46 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-09T01:01:49 *** dhananjay has joined #rtems 2013-07-09T01:30:55 *** dhananjay has quit IRC (Remote host closed the connection) 2013-07-09T02:11:06 *** sebhub has joined #rtems 2013-07-09T02:11:14 good morning 2013-07-09T02:24:57 *** arvind_khadri has joined #rtems 2013-07-09T04:08:57 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-09T04:09:07 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-09T04:12:01 *** verm__ has quit IRC (*.net *.split) 2013-07-09T04:12:03 *** sebhub has quit IRC (*.net *.split) 2013-07-09T04:12:03 *** monstr_ has quit IRC (*.net *.split) 2013-07-09T04:12:04 *** Thorn has quit IRC (*.net *.split) 2013-07-09T04:12:07 *** peerst has quit IRC (*.net *.split) 2013-07-09T04:12:09 *** rokka has quit IRC (*.net *.split) 2013-07-09T04:13:47 *** peerst has joined #rtems 2013-07-09T04:13:47 *** rokka has joined #rtems 2013-07-09T04:15:30 *** sebhub has joined #rtems 2013-07-09T04:15:31 *** monstr_ has joined #rtems 2013-07-09T04:15:31 *** Thorn has joined #rtems 2013-07-09T04:15:31 *** verm__ has joined #rtems 2013-07-09T04:50:12 *** hiddenpearls has joined #rtems 2013-07-09T05:58:48 *** S_Somani has joined #rtems 2013-07-09T06:48:16 *** MegaAlex|away has quit IRC (Ping timeout: 246 seconds) 2013-07-09T06:53:36 *** MegaAlex|away has joined #rtems 2013-07-09T07:09:30 *** S_Somani has left #rtems 2013-07-09T07:48:07 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-09T08:02:11 *** S_Somani has joined #rtems 2013-07-09T08:33:10 *** antgreen has joined #rtems 2013-07-09T08:34:39 *** MegaAlex|away has quit IRC (Ping timeout: 246 seconds) 2013-07-09T08:37:10 *** MegaAlex|away has joined #rtems 2013-07-09T08:41:25 *** MegaAlex|away has quit IRC (Ping timeout: 248 seconds) 2013-07-09T08:42:37 *** MegaAlex|away has joined #rtems 2013-07-09T09:00:45 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-07-09T09:10:33 *** weiY has joined #rtems 2013-07-09T09:10:49 Hi sebhub, are you around? 2013-07-09T09:11:06 yes 2013-07-09T09:11:08 hi 2013-07-09T09:11:59 Hi, i want to add the conditinal check to rtems, if some architecture support stdatomic.h we will build with atomic enable 2013-07-09T09:12:58 should i can just check whether the toolchain for the architecture has stdatomic.h file? 2013-07-09T09:14:19 hm, yes, but you should try to link a simple program using stdatomic.h 2013-07-09T09:14:51 because all newlib targets will have this file, but i am not sure if the gcc provides the builtins for all targets 2013-07-09T09:15:51 *** antgreen has joined #rtems 2013-07-09T09:16:37 yeah, i can try to build a program using stdatomic.h when configure, whether there are some examples like this kind 2013-07-09T09:17:19 maybe it should modify the configure.ac 2013-07-09T09:17:49 or i can add a enable-xxx option to configure.ac 2013-07-09T09:17:56 unfortunately i am not an autoconf expert, but there are some examples in cpukit/configure.ac 2013-07-09T09:18:12 no enable-xxx option please 2013-07-09T09:19:09 ok, enable-xxx is superfluous 2013-07-09T09:26:13 *** antgreen has quit IRC (Ping timeout: 248 seconds) 2013-07-09T09:39:18 *** S_Somani has left #rtems 2013-07-09T09:39:33 *** antgreen has joined #rtems 2013-07-09T09:56:11 *** hiddenpearls has joined #rtems 2013-07-09T09:56:26 *** hiddenpearls has joined #rtems 2013-07-09T10:24:06 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-07-09T10:31:26 *** weiY has quit IRC (Quit: Leaving...) 2013-07-09T10:35:48 *** sebhub has quit IRC (Remote host closed the connection) 2013-07-09T11:15:26 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-09T11:33:51 *** hiddenpearls has joined #rtems 2013-07-09T12:03:29 *** S_Somani has joined #rtems 2013-07-09T12:03:35 *** S_Somani has left #rtems 2013-07-09T12:12:45 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-09T12:36:09 *** monstr_ has quit IRC (Ping timeout: 246 seconds) 2013-07-09T12:39:57 *** hiddenpearls has joined #rtems 2013-07-09T13:24:56 *** hiddenpearls has quit IRC (Read error: Connection reset by peer) 2013-07-09T13:25:44 *** hiddenpearls has joined #rtems 2013-07-09T13:34:59 *** vipulnayyar has joined #rtems 2013-07-09T13:37:50 *** hiddenpearls1 has joined #rtems 2013-07-09T13:38:00 *** hiddenpearls has quit IRC (Read error: No route to host) 2013-07-09T13:38:01 *** DrJoel has joined #rtems 2013-07-09T13:38:01 *** DrJoel has joined #rtems 2013-07-09T13:38:01 *** ChanServ sets mode: +o DrJoel 2013-07-09T14:01:07 *** DrJoel has quit IRC (Quit: Depression is merely anger without enthusiasm) 2013-07-09T15:13:25 *** Hesham-- has joined #rtems 2013-07-09T15:38:59 *** antgreen has quit IRC (Ping timeout: 256 seconds) 2013-07-09T15:50:46 *** Hesham-- has quit IRC (Ping timeout: 246 seconds) 2013-07-09T16:18:47 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-09T16:30:22 *** Hesham-- has joined #rtems 2013-07-09T18:13:08 *** ericbmerritt has joined #rtems 2013-07-09T19:08:27 *** the9a3eedi has joined #rtems 2013-07-09T20:21:50 Is there any way of finding out if a particular file is already open? and does the open() command fail for a file that is already open? 2013-07-09T20:22:18 No it does not. 2013-07-09T20:22:34 It follows the POSIX standard. 2013-07-09T20:23:50 I suggest you head over the Open Group and take a look at the Single Unix Specification ... 2013-07-09T20:23:51 https://www2.opengroup.org/ogsys/catalog/t101 2013-07-09T20:48:31 *** antgreen has joined #rtems 2013-07-09T20:49:22 *** the9a3eedi has quit IRC (Ping timeout: 240 seconds) 2013-07-09T21:58:16 *** antgreen has quit IRC (Ping timeout: 240 seconds) 2013-07-09T22:05:55 *** antgreen has joined #rtems 2013-07-09T22:30:41 *** freenix has joined #rtems 2013-07-09T22:34:18 *** the9a3eedi has joined #rtems 2013-07-09T22:34:27 I realize it's following the POSIX standard. But I did hear there are a few exceptions and I was hoping that may be one of them 2013-07-09T22:36:06 What are the exceptions ? 2013-07-09T22:54:47 *** freenix has quit IRC (Quit: Leaving) 2013-07-09T23:02:52 kiwichris, I mean I read somewhere that it doesn't fully follow the POSIX standard 2013-07-09T23:03:02 but perhaps I remembered wrongly 2013-07-09T23:43:29 *** dhananjay has joined #rtems 2013-07-09T23:50:07 *** verm__ has quit IRC (Read error: Connection reset by peer) 2013-07-09T23:52:28 *** verm__ has joined #rtems 2013-07-09T23:58:37 *** verm__ has quit IRC (Ping timeout: 268 seconds) 2013-07-10T00:06:03 *** arvind_khadri has joined #rtems 2013-07-10T00:14:49 *** verm__ has joined #rtems 2013-07-10T00:20:29 *** monstr_ has joined #rtems 2013-07-10T00:30:58 *** hiddenpearls has joined #rtems 2013-07-10T01:44:49 *** sebhub has joined #rtems 2013-07-10T01:44:56 good morning 2013-07-10T01:46:56 good morning 2013-07-10T02:04:31 *** the9a3eedi has quit IRC (Quit: Leaving) 2013-07-10T02:19:16 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-10T02:21:09 *** MegaAlex|away has quit IRC (Ping timeout: 248 seconds) 2013-07-10T02:23:26 *** MegaAlex|away has joined #rtems 2013-07-10T02:24:34 *** dhananjay has joined #rtems 2013-07-10T04:25:01 *** dhananjay has quit IRC (Remote host closed the connection) 2013-07-10T04:25:45 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T04:50:07 *** rtemsLogger has joined #rtems 2013-07-10T04:56:20 *** hiddenpearls has joined #rtems 2013-07-10T04:57:53 *** kiwichris has quit IRC (*.net *.split) 2013-07-10T04:57:54 *** rtemsLogger` has quit IRC (*.net *.split) 2013-07-10T05:31:09 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T05:47:59 *** antgreen has quit IRC (Ping timeout: 246 seconds) 2013-07-10T05:56:17 *** Hesham-- has quit IRC (Read error: Operation timed out) 2013-07-10T05:58:34 *** Hesham-- has joined #rtems 2013-07-10T06:01:28 *** antgreen has joined #rtems 2013-07-10T06:12:34 *** MegaAlex|away has quit IRC (Ping timeout: 256 seconds) 2013-07-10T06:14:32 *** MegaAlex|away has joined #rtems 2013-07-10T06:57:21 *** antgreen has quit IRC (Ping timeout: 248 seconds) 2013-07-10T07:03:11 *** hiddenpearls has joined #rtems 2013-07-10T07:12:31 *** antgreen has joined #rtems 2013-07-10T08:01:21 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-07-10T08:05:35 *** hiddenpearls has joined #rtems 2013-07-10T08:15:51 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T08:40:18 *** monstr_ has quit IRC (Ping timeout: 264 seconds) 2013-07-10T08:49:24 *** hiddenpearls has joined #rtems 2013-07-10T08:51:32 *** MegaAlexz has joined #rtems 2013-07-10T08:56:21 *** MegaAlexz has quit IRC (Ping timeout: 268 seconds) 2013-07-10T08:57:22 *** MegaAlex|away has quit IRC (*.net *.split) 2013-07-10T08:57:22 *** sebhub has quit IRC (*.net *.split) 2013-07-10T08:57:24 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T08:58:02 *** MegaAlex|away has joined #rtems 2013-07-10T09:14:37 *** ChanServ has joined #rtems 2013-07-10T09:14:37 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T09:15:19 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T09:18:15 *** weiY has joined #rtems 2013-07-10T09:20:50 *** S_Somani has joined #rtems 2013-07-10T09:25:36 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T09:50:29 *** antgreen has joined #rtems 2013-07-10T09:58:32 *** phipse has joined #rtems 2013-07-10T10:03:33 *** ChanServ has joined #rtems 2013-07-10T10:03:33 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T10:06:15 *** S_Somani has left #rtems 2013-07-10T10:06:16 *** hiddenpearls has joined #rtems 2013-07-10T10:07:59 *** hiddenpearls1 has joined #rtems 2013-07-10T10:09:18 *** hiddenpearls1 has quit IRC (Read error: Connection reset by peer) 2013-07-10T10:10:38 *** hiddenpearls has quit IRC (Ping timeout: 240 seconds) 2013-07-10T10:10:45 *** hiddenpearls has joined #rtems 2013-07-10T10:12:25 *** weiY has quit IRC (Read error: Connection reset by peer) 2013-07-10T10:12:34 *** weiY has joined #rtems 2013-07-10T10:16:24 *** hiddenpearls has quit IRC (Read error: Connection reset by peer) 2013-07-10T10:16:38 *** hiddenpearls has joined #rtems 2013-07-10T10:17:18 *** hiddenpearls has quit IRC (Client Quit) 2013-07-10T10:20:03 *** weiY has quit IRC (Quit: Leaving...) 2013-07-10T10:27:46 *** vipulnayyar has joined #rtems 2013-07-10T10:29:31 *** hiddenpearls has joined #rtems 2013-07-10T10:31:48 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-07-10T10:32:28 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T10:38:30 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2013-07-10T10:43:06 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T10:43:38 *** hiddenpearls has joined #rtems 2013-07-10T10:50:58 *** antgreen has joined #rtems 2013-07-10T10:59:12 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T11:01:40 *** phipse has quit IRC (Quit: leaving) 2013-07-10T11:01:54 *** ChanServ has joined #rtems 2013-07-10T11:01:55 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T11:10:10 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2013-07-10T11:12:42 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T11:23:25 *** monstr_ has joined #rtems 2013-07-10T11:25:19 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-07-10T11:26:36 *** vipulnayyar has joined #rtems 2013-07-10T11:29:13 *** hiddenpearls has joined #rtems 2013-07-10T11:30:23 *** gedare has joined #rtems 2013-07-10T11:32:05 *** monstr_ has quit IRC (Ping timeout: 248 seconds) 2013-07-10T11:37:49 *** ChanServ has joined #rtems 2013-07-10T11:37:49 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T11:42:33 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-07-10T11:47:04 *** S_Somani has joined #rtems 2013-07-10T11:49:05 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T12:06:57 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T12:11:58 *** hiddenpearls has joined #rtems 2013-07-10T12:21:59 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T12:43:57 *** ChanServ has joined #rtems 2013-07-10T12:43:57 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T12:51:39 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T12:54:47 *** ChanServ has joined #rtems 2013-07-10T12:54:47 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T13:00:00 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T13:02:56 *** hiddenpearls has joined #rtems 2013-07-10T13:07:02 *** S_Somani1 has joined #rtems 2013-07-10T13:09:23 *** S_Somani has quit IRC (Ping timeout: 240 seconds) 2013-07-10T13:15:36 *** antgreen has joined #rtems 2013-07-10T13:24:17 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T14:26:32 *** hiddenpearls has joined #rtems 2013-07-10T14:32:33 *** ChanServ has joined #rtems 2013-07-10T14:32:33 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T14:37:02 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T14:44:13 *** S_Somani1 has left #rtems 2013-07-10T14:50:39 *** ChanServ has joined #rtems 2013-07-10T14:50:40 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T14:56:55 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2013-07-10T15:14:11 *** gedare has quit IRC (Ping timeout: 260 seconds) 2013-07-10T15:18:06 *** Hesham-- has quit IRC (Ping timeout: 264 seconds) 2013-07-10T15:18:51 *** Hesham-- has joined #rtems 2013-07-10T15:19:04 *** ChanServ has quit IRC (*.net *.split) 2013-07-10T15:30:52 *** ChanServ has joined #rtems 2013-07-10T15:30:52 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T15:45:38 *** ChanServ has quit IRC (shutting down) 2013-07-10T15:53:54 *** MegaAlex|away has quit IRC (*.net *.split) 2013-07-10T15:54:37 *** ChanServ has joined #rtems 2013-07-10T15:54:37 *** hobana.freenode.net sets mode: +o ChanServ 2013-07-10T15:56:06 *** MegaAlex|away has joined #rtems 2013-07-10T16:04:53 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T16:22:34 *** hiddenpearls has joined #rtems 2013-07-10T16:25:06 *** arvind_khadri has joined #rtems 2013-07-10T16:59:26 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-10T18:10:01 *** hiddenpearls has joined #rtems 2013-07-10T18:15:00 *** hiddenpearls1 has joined #rtems 2013-07-10T18:15:00 *** hiddenpearls has quit IRC (Read error: Connection reset by peer) 2013-07-10T18:40:59 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-10T19:02:27 *** Hesham-- has left #rtems 2013-07-10T19:41:31 *** antgreen has joined #rtems 2013-07-10T21:37:07 *** rtemsLogger` has joined #rtems 2013-07-10T21:43:46 *** rtemsLogger has quit IRC (*.net *.split) 2013-07-10T22:58:33 *** arvind_khadri has quit IRC (Remote host closed the connection) 2013-07-10T23:46:31 *** monstr_ has joined #rtems 2013-07-11T01:09:18 *** verm__ has quit IRC (Ping timeout: 245 seconds) 2013-07-11T01:27:42 *** hiddenpearls has joined #rtems 2013-07-11T01:51:47 *** sebhub has joined #rtems 2013-07-11T01:52:29 good morning 2013-07-11T01:52:33 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T02:15:24 *** hiddenpearls has joined #rtems 2013-07-11T03:05:05 *** verm__ has joined #rtems 2013-07-11T03:07:18 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T04:05:17 *** hiddenpearls has joined #rtems 2013-07-11T04:45:39 *** freenix has joined #rtems 2013-07-11T06:18:54 *** antgreen has quit IRC (Ping timeout: 240 seconds) 2013-07-11T06:24:54 *** antgreen has joined #rtems 2013-07-11T06:37:33 *** S_Somani has joined #rtems 2013-07-11T06:53:31 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T07:06:00 *** freenix has quit IRC (Quit: Leaving) 2013-07-11T07:27:51 *** hiddenpearls has joined #rtems 2013-07-11T07:53:21 *** gedare has joined #rtems 2013-07-11T08:08:10 *** cafi has joined #rtems 2013-07-11T08:13:47 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T08:15:09 *** hiddenpearls has joined #rtems 2013-07-11T08:18:13 *** hiddenpearls has quit IRC (Client Quit) 2013-07-11T08:35:45 *** S_Somani has left #rtems 2013-07-11T08:50:47 *** cafi has quit IRC (Quit: Page closed) 2013-07-11T08:52:34 *** weiY has joined #rtems 2013-07-11T09:05:20 *** dhananjay has joined #rtems 2013-07-11T09:05:36 kiwichris_: around? 2013-07-11T09:41:39 *** monstr_ has quit IRC (Ping timeout: 246 seconds) 2013-07-11T09:46:58 dhananjay: he probably wont' be around for awhile. it is the middle of the night where he lives. 2013-07-11T09:57:24 *** hiddenpearls1 has joined #rtems 2013-07-11T10:04:37 dhananjay: can you post a status update to your blog or rtems-devel i would like to get an idea how your work is going 2013-07-11T10:06:04 gedare: Yes. I am writing one now - will be up by night. 2013-07-11T10:06:09 superb 2013-07-11T10:08:36 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-11T10:32:14 *** sebhub has quit IRC (Remote host closed the connection) 2013-07-11T10:42:19 *** weiY has quit IRC (Quit: Linkinus - http://linkinus.com) 2013-07-11T10:43:18 *** hiddenpearls has joined #rtems 2013-07-11T10:43:26 *** cafi has joined #rtems 2013-07-11T10:54:18 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T10:57:45 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-07-11T12:12:27 *** hiddenpearls has joined #rtems 2013-07-11T12:21:31 hi 2013-07-11T12:22:13 *** dhananjay has quit IRC (Ping timeout: 276 seconds) 2013-07-11T12:22:17 I'm trying to install rtems4.11 tools on ubuntu 64 2013-07-11T12:26:40 and I'm receiving this error : ...tools/toolchain/build/b-gcc/gcc no rule to make target install ??? 2013-07-11T12:36:52 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T14:07:58 hey cafi. 2013-07-11T14:08:28 you might like to try out the rtems source builder: http://www.rtems.org/wiki/index.php/RTEMS_Source_Builder 2013-07-11T14:08:56 cafi, RSB helps to build the toolchain from source, and also will compile RTEMS targets for you. it has a small learning curve but i think is simpler than trying to compile tools manually on your own. 2013-07-11T14:13:09 *** gedare has quit IRC (Ping timeout: 248 seconds) 2013-07-11T14:13:40 *** hiddenpearls has joined #rtems 2013-07-11T14:39:39 *** vipulnayyar has joined #rtems 2013-07-11T14:46:44 tks gedare I will try 2013-07-11T14:52:45 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-07-11T15:03:14 *** antgreen has joined #rtems 2013-07-11T15:26:41 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-11T15:38:08 *** antgreen has quit IRC (Quit: Leaving) 2013-07-11T17:55:22 *** antgreen has joined #rtems 2013-07-11T18:25:47 *** cafi has quit IRC (Ping timeout: 250 seconds) 2013-07-11T21:24:57 *** freenix has joined #rtems 2013-07-11T22:45:24 hi, kiwichris_ 2013-07-11T22:45:33 freenix, hi 2013-07-11T22:45:53 did you see the comments that i reply to you? 2013-07-11T22:45:58 about the align related problem 2013-07-11T22:46:00 Great work on the align issue 2013-07-11T22:46:04 thanks 2013-07-11T22:46:15 any advice about this? 2013-07-11T22:46:27 Can you hard code into the output the aligns based on the arch ? 2013-07-11T22:46:50 The file is built by a C compiler and it should have a prefine of the arch you are on 2013-07-11T22:47:10 but how to pass it to the awk script? 2013-07-11T22:47:21 what option do you prefer? 2013-07-11T22:47:25 Use the common case of balign 1 then for MIPs use its option 2013-07-11T22:47:32 ok 2013-07-11T22:47:42 No need, just hard code the logic and let the compiler figure it out 2013-07-11T22:48:25 can you explain this? sorry 2013-07-11T22:48:28 Here is a neat trick from Joel I use often ?. 2013-07-11T22:48:30 gcc -dM -E - and replace gcc with the arch RTEMS gcc 2013-07-11T22:48:54 ok. 2013-07-11T22:49:01 Then do a '#if __i386__ ?.' 2013-07-11T22:49:14 or i386 or the one for arm or mips etc 2013-07-11T22:49:21 #if __i386__ in where? in wscript? 2013-07-11T22:49:38 no no, in the output of the awk script 2013-07-11T22:49:55 can awk script interpret "#if" ? 2013-07-11T22:50:36 No, it is in the C file being created 2013-07-11T22:50:48 ok. got it. thanks. 2013-07-11T22:51:02 hehe great, this is a simple trick and requires no options or settings 2013-07-11T22:51:10 I'll make this a seperate patch. 2013-07-11T22:51:15 Nice. 2013-07-11T22:51:21 thanks. 2013-07-11T22:51:25 I think it will be in c_trailer 2013-07-11T22:51:41 in the awk script 2013-07-11T22:52:10 yeah. 2013-07-11T22:52:11 something like " print ("#if __mips__")" 2013-07-11T22:52:51 yeah. 2013-07-11T22:53:00 It took a bit of time to figure out the correct solution and your testing of what worked and what did not was the key 2013-07-11T22:53:34 This is really a good solution. :) 2013-07-11T22:53:34 The less options we have for a user to have to set the better user experience we will create 2013-07-11T22:54:22 Got it. thanks for your help. 2013-07-11T22:54:28 I think this awk script should be code in C++ and added to the linker 2013-07-11T22:54:35 once fixed :) 2013-07-11T22:54:53 how about a seperate patch for this align problem? 2013-07-11T22:54:56 Yes 2013-07-11T22:55:00 good idea 2013-07-11T22:55:08 ok 2013-07-11T23:16:34 *** monstr_ has joined #rtems 2013-07-11T23:47:11 *** dhananjay has joined #rtems 2013-07-12T01:25:53 *** freenix has quit IRC (Quit: Leaving) 2013-07-12T01:45:40 *** sebhub has joined #rtems 2013-07-12T01:46:30 good morning 2013-07-12T02:06:24 *** hiddenpearls1 has joined #rtems 2013-07-12T02:21:24 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-12T02:26:17 *** dhananjay has joined #rtems 2013-07-12T02:45:23 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-12T03:52:41 *** hiddenpearls has joined #rtems 2013-07-12T04:02:24 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-12T04:28:49 *** dhananjay has joined #rtems 2013-07-12T04:56:24 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T05:18:14 *** monstr_ has quit IRC (Ping timeout: 276 seconds) 2013-07-12T05:18:14 *** monstr_ has joined #rtems 2013-07-12T05:29:24 *** monstr_ has quit IRC (Ping timeout: 276 seconds) 2013-07-12T05:30:02 *** monstr_ has joined #rtems 2013-07-12T06:29:08 *** hiddenpearls has joined #rtems 2013-07-12T06:49:26 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-12T06:52:57 *** dhananjay has joined #rtems 2013-07-12T06:58:24 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2013-07-12T07:14:42 *** antgreen has joined #rtems 2013-07-12T07:34:53 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T08:12:45 *** antgreen has quit IRC (Ping timeout: 264 seconds) 2013-07-12T08:26:11 *** S_Somani has joined #rtems 2013-07-12T09:07:45 *** monstr_ has quit IRC (Remote host closed the connection) 2013-07-12T09:17:54 *** antgreen has joined #rtems 2013-07-12T09:22:21 *** weiY has joined #rtems 2013-07-12T09:45:35 *** hiddenpearls has joined #rtems 2013-07-12T10:16:02 *** sebhub has quit IRC (Remote host closed the connection) 2013-07-12T10:22:09 *** hiddenpearls has joined #rtems 2013-07-12T10:24:53 *** hiddenpearls has quit IRC (Client Quit) 2013-07-12T10:32:26 *** hiddenpearls has joined #rtems 2013-07-12T10:43:57 *** weiY has quit IRC (Quit: Linkinus - http://linkinus.com) 2013-07-12T11:06:51 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T11:32:28 *** hiddenpearls has joined #rtems 2013-07-12T11:43:33 *** S_Somani1 has joined #rtems 2013-07-12T11:50:58 *** S_Somani has quit IRC (*.net *.split) 2013-07-12T12:00:19 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T12:06:52 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2013-07-12T12:22:29 *** antgreen has joined #rtems 2013-07-12T12:28:46 *** dhananjay has quit IRC (Ping timeout: 240 seconds) 2013-07-12T12:40:19 *** vipulnayyar has joined #rtems 2013-07-12T12:44:36 *** hiddenpearls has joined #rtems 2013-07-12T12:50:10 *** vipulnayyar has quit IRC (Quit: Leaving) 2013-07-12T12:52:44 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T12:57:13 drjoel: which emulator do you use for powerpc testing 2013-07-12T13:09:29 *** antgreen has quit IRC (Ping timeout: 246 seconds) 2013-07-12T13:23:17 *** antgreen has joined #rtems 2013-07-12T13:32:10 *** antgreen has quit IRC (Ping timeout: 276 seconds) 2013-07-12T13:46:15 *** antgreen has joined #rtems 2013-07-12T14:20:48 *** antgreen has quit IRC (Ping timeout: 260 seconds) 2013-07-12T14:33:28 *** antgreen has joined #rtems 2013-07-12T14:38:16 *** hiddenpearls has joined #rtems 2013-07-12T14:50:53 *** gedare has joined #rtems 2013-07-12T14:54:21 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T14:58:16 *** hiddenpearls has joined #rtems 2013-07-12T15:01:50 *** gedare has quit IRC (Ping timeout: 240 seconds) 2013-07-12T15:02:08 *** ChanServ has quit IRC (shutting down) 2013-07-12T15:06:26 *** ChanServ has joined #rtems 2013-07-12T15:06:26 *** card.freenode.net sets mode: +o ChanServ 2013-07-12T15:09:36 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T15:11:17 *** S_Somani1 has quit IRC (Ping timeout: 248 seconds) 2013-07-12T15:11:23 *** verm__ has quit IRC (Changing host) 2013-07-12T15:11:23 *** verm__ has joined #rtems 2013-07-12T15:44:12 *** antgreen has quit IRC (Quit: Leaving) 2013-07-12T15:54:06 *** hiddenpearls has joined #rtems 2013-07-12T16:11:07 *** Hesham-- has joined #rtems 2013-07-12T16:15:27 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-12T17:51:41 *** kiwichris__ has joined #rtems 2013-07-12T17:53:16 *** kiwichris_ has quit IRC (Ping timeout: 240 seconds) 2013-07-12T19:05:51 *** freenix has joined #rtems 2013-07-12T20:53:51 *** freenix has quit IRC (Remote host closed the connection) 2013-07-12T21:15:48 *** antgreen has joined #rtems 2013-07-12T23:18:49 *** dhananjay has joined #rtems 2013-07-13T00:01:35 *** dhananjay has quit IRC (Remote host closed the connection) 2013-07-13T00:05:17 *** Hesham-- has quit IRC (Ping timeout: 256 seconds) 2013-07-13T01:07:50 *** freenix has joined #rtems 2013-07-13T01:08:19 *** hiddenpearls1 has joined #rtems 2013-07-13T02:12:53 *** cafi has joined #rtems 2013-07-13T02:13:06 hi 2013-07-13T02:16:51 I'm trying to compile rtems and i 'm receiving this error "checking for arm-rtems4.11-gcc ..... no \ error no acceptable cc found in PATH " 2013-07-13T02:17:41 any idea why ? 2013-07-13T03:03:31 *** hiddenpearls1 has quit IRC (Quit: Leaving.) 2013-07-13T03:15:05 *** hiddenpearls has joined #rtems 2013-07-13T04:11:37 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-13T04:56:45 *** hiddenpearls has joined #rtems 2013-07-13T06:05:10 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-13T07:17:56 *** freenix has quit IRC (Quit: Leaving) 2013-07-13T07:39:48 *** antgreen has quit IRC (Ping timeout: 245 seconds) 2013-07-13T07:51:00 *** S_Somani has joined #rtems 2013-07-13T08:50:22 *** S_Somani1 has joined #rtems 2013-07-13T08:53:19 *** S_Somani has quit IRC (Ping timeout: 260 seconds) 2013-07-13T09:02:34 *** S_Somani1 has quit IRC (Ping timeout: 240 seconds) 2013-07-13T09:02:49 *** S_Somani has joined #rtems 2013-07-13T09:11:25 *** S_Somani has left #rtems 2013-07-13T09:13:52 *** antgreen has joined #rtems 2013-07-13T09:27:31 *** vipulnayyar has joined #rtems 2013-07-13T09:28:44 *** vipulnayyar has quit IRC (Client Quit) 2013-07-13T10:15:06 *** Hesham-- has joined #rtems 2013-07-13T10:46:49 *** cafi has quit IRC (Ping timeout: 250 seconds) 2013-07-13T12:01:13 *** hiddenpearls has joined #rtems 2013-07-13T12:29:04 *** antgreen has quit IRC (Read error: Operation timed out) 2013-07-13T12:31:53 *** Hesham-- has quit IRC (Ping timeout: 245 seconds) 2013-07-13T12:45:55 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-13T13:22:09 *** gedare has joined #rtems 2013-07-13T13:36:40 *** Hesham-- has joined #rtems 2013-07-13T13:56:13 *** Hesham-- has quit IRC (Quit: Leaving.) 2013-07-13T14:13:25 *** hiddenpearls has joined #rtems 2013-07-13T15:15:04 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-13T16:15:11 *** antgreen has joined #rtems 2013-07-13T17:41:30 *** Hesham--1 has joined #rtems 2013-07-13T17:42:17 hi gedare 2013-07-13T18:31:17 *** Hesham--1 has left #rtems 2013-07-13T19:19:19 *** gedare has quit IRC (Ping timeout: 246 seconds) 2013-07-13T23:54:40 *** freenix has joined #rtems 2013-07-14T00:14:51 *** the9a3eedi has joined #rtems 2013-07-14T01:19:39 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-14T01:20:02 *** the9a3eedi has joined #rtems 2013-07-14T02:31:10 *** the9a3eedi has quit IRC (Read error: Connection reset by peer) 2013-07-14T02:31:33 *** the9a3eedi has joined #rtems 2013-07-14T03:20:41 *** hiddenpearls has joined #rtems 2013-07-14T03:22:26 *** hiddenpearls has quit IRC (Client Quit) 2013-07-14T03:39:40 *** the9a3eedi-2 has joined #rtems 2013-07-14T03:40:56 *** the9a3eedi-2 has quit IRC (Read error: Connection reset by peer) 2013-07-14T03:41:10 *** the9a3eedi-2 has joined #rtems 2013-07-14T03:43:13 *** the9a3eedi has quit IRC (Ping timeout: 256 seconds) 2013-07-14T03:45:01 *** hiddenpearls has joined #rtems 2013-07-14T04:31:18 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-14T04:32:46 *** freenix has quit IRC (Quit: Leaving) 2013-07-14T04:57:33 *** hiddenpearls has joined #rtems 2013-07-14T05:06:56 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-14T05:26:00 *** antgreen has quit IRC (Read error: Operation timed out) 2013-07-14T05:42:44 *** antgreen has joined #rtems 2013-07-14T05:42:57 *** hiddenpearls has joined #rtems 2013-07-14T05:59:18 *** arvind_khadri has joined #rtems 2013-07-14T06:06:34 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-14T06:08:39 *** hiddenpearls has joined #rtems 2013-07-14T06:13:21 *** hiddenpearls has quit IRC (Client Quit) 2013-07-14T06:31:33 *** arvind_khadri has quit IRC (Ping timeout: 240 seconds) 2013-07-14T06:46:44 *** antgreen has quit IRC (Ping timeout: 246 seconds) 2013-07-14T07:18:24 *** hiddenpearls has joined #rtems 2013-07-14T07:19:43 *** hiddenpearls has quit IRC (Client Quit) 2013-07-14T07:42:43 *** S_Somani has joined #rtems 2013-07-14T07:46:48 *** verm__ has quit IRC (Ping timeout: 245 seconds) 2013-07-14T08:48:47 *** arvind_khadri has joined #rtems 2013-07-14T10:07:33 *** antgreen has joined #rtems 2013-07-14T10:51:18 *** S_Somani has left #rtems 2013-07-14T11:29:04 *** vipulnayyar has joined #rtems 2013-07-14T11:33:04 *** vipulnayyar has quit IRC (Client Quit) 2013-07-14T12:34:03 *** S_Somani has joined #rtems 2013-07-14T14:12:10 *** verm__ has joined #rtems 2013-07-14T14:35:15 *** the9a3eedi-2 has quit IRC (Read error: Connection reset by peer) 2013-07-14T14:35:56 *** the9a3eedi-2 has joined #rtems 2013-07-14T15:30:04 *** arvind_khadri has quit IRC (Read error: Operation timed out) 2013-07-14T15:37:15 *** S_Somani has left #rtems 2013-07-14T17:42:03 *** antgreen has quit IRC (Read error: Operation timed out) 2013-07-14T18:47:40 *** freenix has joined #rtems 2013-07-14T18:47:53 *** hiddenpearls has joined #rtems 2013-07-14T18:51:02 *** hiddenpearls has quit IRC (Quit: Leaving.) 2013-07-14T18:52:52 hi, kiwichris__ 2013-07-14T18:53:04 hi 2013-07-14T18:53:23 I want to ask about the local symbols problem 2013-07-14T18:53:27 sure 2013-07-14T18:53:49 did you saw the comments on my github project? 2013-07-14T18:53:55 about this problem 2013-07-14T18:53:57 Which one ? 2013-07-14T18:54:00 link ? 2013-07-14T18:54:04 https://github.com/MrVan/gsoc2013-rtl/commit/452dbd97a99961b0ea2bece02086d8e893301577 2013-07-14T18:54:51 just on the phone, please hang on 2013-07-14T18:54:56 ok. 2013-07-14T19:18:37 *** antgreen has joined #rtems 2013-07-14T19:27:24 freenix, hi 2013-07-14T19:27:32 hi, kiwichris__ 2013-07-14T19:28:03 Without looking at the details I am a little confused why local symbols are needed. 2013-07-14T19:28:26 I understand they are present but are these ARM relocs ? 2013-07-14T19:28:34 for example, file1.o contains ".LC0", and file2.o contains ".LC0" 2013-07-14T19:29:02 and they reference a tezt string etc in that file ? 2013-07-14T19:29:09 or something ? 2013-07-14T19:29:21 yeah, a string 2013-07-14T19:29:32 Is the reference absolute or relative ? 2013-07-14T19:29:44 wait, I check 2013-07-14T19:32:50 absolute 2013-07-14T19:32:56 hi, kiwichris__ 2013-07-14T19:33:06 they are absolute 2013-07-14T19:33:18 hmm ok 2013-07-14T19:33:32 like this:movw r0, #0 2013-07-14T19:33:39 R_ARM_THM_MOVW_ABS_NC .LC0 2013-07-14T19:34:51 I encounter this on the arm realview bsp, but on s3c6410, this problem does not exsit 2013-07-14T19:35:15 So this is a relocation and not a symbol issue 2013-07-14T19:36:06 This means we should not add the symbols to the symbol table in the file the target gets but we need to add the relocation fixup records 2013-07-14T19:37:02 ok. then I should think how to add such fixups 2013-07-14T19:37:59 this means rtems-ld rap converter needs to process each relocat record and find the symbol and therefore the offset in the RAP for the specific section and create the relocation record to update the image when being loaded. 2013-07-14T19:38:52 There should be a reloc record for the reference .LC0 symbol. I would add some test code to have these printed. 2013-07-14T19:39:07 If there is no reloc record the symbol is not needed 2013-07-14T19:39:18 all in rtems-ld 2013-07-14T19:39:23 ok. 2013-07-14T19:40:11 the symbol will reference a section in the object file being processed so you have the offset into the specific section and you need to map that to the RAP section 2013-07-14T19:40:32 a special section will be added to the rap file? 2013-07-14T19:41:32 for example it may be in called 'chris_special_section' and that has been merged in .const so the symbol offset is the base of 'chris_special_section' on .const plus the offset in actual offset 2013-07-14T19:42:12 No they are all merged and so you need to get the base offset of the symbols section in the merged section and add the symbols offset 2013-07-14T19:42:54 I think there are methods in the RAP to find these things out 2013-07-14T19:43:03 RAP code I mean 2013-07-14T19:43:25 ok. it may take me some time to absorb what you suggest. 2013-07-14T19:43:53 I am sure. It is actually part of the linking phase. 2013-07-14T19:44:34 In other words all we are doing is part of the target linking process but on the host when uysing the RAP format 2013-07-14T19:44:50 Can you load the ELF on the target as an ELF file ? 2013-07-14T19:45:04 I have not tried elf loading. 2013-07-14T19:45:13 I would try that for ARM 2013-07-14T19:45:15 only rap, and ar format 2013-07-14T19:45:23 ok. I 'll try it 2013-07-14T19:45:30 Ah ok, we need to be able to support loading ELF files as well. 2013-07-14T19:45:34 for all archs 2013-07-14T19:45:46 This is something needed when debugging 2013-07-14T19:46:09 because gdb works with ELF files 2013-07-14T19:46:35 If you load the ELF file you will see a reloc record that references the .LC0 symbol 2013-07-14T19:47:10 Watch what happens and the only difference for the RAP processing on the host is extra offset for the merged section. 2013-07-14T19:48:15 can we modified the .LC0' reloc entry to a section plus an offset? 2013-07-14T19:48:46 because 'LC0' is always reside in a section. 2013-07-14T19:49:30 ok. I'll try to use gdb and qemu to see what happens when loading elf file 2013-07-14T19:50:12 The offset is in the image and is typically the offset from the specific section the symbol is in. All we are doing is merging sections. If the section is the 1st in the merged RAP section the offset does not change 2013-07-14T19:50:31 yeah. 2013-07-14T19:51:09 but if the section is not the first, the size of the first sections should be added the offset 2013-07-14T19:51:13 right? 2013-07-14T19:51:17 If it is after a section of 12345 bytes then the next section's alignment moves the address to the next aligned location and so the offset present has say 12346 added 2013-07-14T19:51:42 if the alignment is 2 2013-07-14T19:52:07 ok. I missed the alignment 2013-07-14T19:52:33 The RAP converted is full of alignment checks and adjustments 2013-07-14T19:52:40 converted -> converter 2013-07-14T19:52:52 got it. 2013-07-14T19:53:12 great and this is a nice task to work on 2013-07-14T19:53:37 It can also be arch independent and this makes the change a good one 2013-07-14T19:53:53 yeah. I think this is a challenge 2013-07-14T19:56:14 Thanks for this. I think i should try to learn what you suggested, and then dig into to host side to add something that can handle the 'LC0' 2013-07-14T19:56:50 anyhow, first load the elf to see what happens about 'LC0' 2013-07-14T20:09:22 *** freenix has quit IRC (Quit: Leaving) 2013-07-14T20:10:10 *** freenix has joined #rtems 2013-07-14T23:39:07 *** hiddenpearls1 has joined #rtems 2013-07-14T23:59:21 *** hiddenpearls1 has quit IRC (Quit: Leaving.)