<div dir="ltr"><div><div>Hi,<br></div>I was following the instructions from <br><br><a href="https://devel.rtems.org/wiki/GSoC/GettingStarted">https://devel.rtems.org/wiki/GSoC/GettingStarted</a><br><br></div>page.I have created the patch and the snapshot of modified Hello World program.Can someone suggest to me where do I submit the proof. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 16, 2016 at 5:30 PM, <span dir="ltr"><<a href="mailto:users-request@rtems.org" target="_blank">users-request@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send users mailing list submissions to<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:users-request@rtems.org">users-request@rtems.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:users-owner@rtems.org">users-owner@rtems.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. About "Add per-section compilation and linking support" and<br>
libdl (?????? ???????)<br>
2. Re: About "Add per-section compilation and linking support"<br>
and libdl (Chris Johns)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 15 Jan 2016 18:15:33 +0300<br>
From: ?????? ??????? <<a href="mailto:sergkruglov@bk.ru">sergkruglov@bk.ru</a>><br>
To: <<a href="mailto:users@rtems.org">users@rtems.org</a>><br>
Subject: About "Add per-section compilation and linking support" and<br>
libdl<br>
Message-ID: <FBE2DD8DEA214E2FBEF239A3F9F6B20A@NOK><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I succesfully use libdl with mips processors (R300 with small correct resole mips16 relocs).<br>
RTEMS 4.11 and 4.12<br>
1. After patch rtems ?Add per-section compilation and linking support" image size reduce 811400 ?> 653864.<br>
It?s OK, but now rap file generate incorrectly and not load.<br>
Test program only get and print lists tasks, semaphores, messages, periiods.<br>
Without per-section compilation symbol map:<br>
size align offset<br>
.text: 2000 16 0x00000054 (84)<br>
.const: 368 0 0x00000824 (2084)<br>
.ctor: 0 0 0x00000994 (2452)<br>
.dtor: 0 0 0x00000994 (2452)<br>
.data: 0 16 0x00000994 (2452)<br>
.bss: 0 16 -<br>
strtab: 82 - 0x00000994 (2452)<br>
symtab: 48 - 0x000009e6 (2534)<br>
relocs: 1332 - 0x00000a16 (2582)<br>
Details: 0x00000020 (32)<br>
No details<br>
Strings: 0x00000994 (2452) size: 82<br>
0 (0x000000):<br>
1 (0x000001): rtems<br>
2 (0x000007): _Heap_Get_information<br>
3 (0x00001d): _Heap_Iterate<br>
4 (0x00002b): _Protected_heap_Get_information<br>
5 (0x00004b): rtems<br>
6 (0x000051):<br>
Symbols: 0x000009e6 (2534) size: 48<br>
data section value name<br>
0: 0x0012 .text 0x00000000 rtems<br>
1: 0x0012 .text 0x00000000 _Heap_Get_information<br>
2: 0x0012 .text 0x00000000 _Heap_Iterate<br>
3: 0x0012 .text 0x00000000 _Protected_heap_Get_information<br>
<br>
With per-section compilation symbol map:<br>
size align offset<br>
.text: 2404 16 0x00000054 (84)<br>
.const: 368 0 0x000009b8 (2488)<br>
.ctor: 0 0 0x00000b28 (2856)<br>
.dtor: 0 0 0x00000b28 (2856)<br>
.data: 4 16 0x00000b28 (2856)<br>
.bss: 0 16 -<br>
strtab: 156 - 0x00000b2c (2860)<br>
symtab: 96 - 0x00000bc8 (3016)<br>
relocs: 1488 - 0x00000c28 (3112)<br>
Details: 0x00000020 (32)<br>
No details<br>
Strings: 0x00000b2c (2860) size: 156<br>
0 (0x000000):<br>
1 (0x000001): rtems<br>
2 (0x000007): rtems_object_get_name<br>
3 (0x00001d): _Heap_Get_information<br>
4 (0x000033): _Heap_Iterate<br>
5 (0x000041): _Objects_Get_name_as_string<br>
6 (0x00005d): _Protected_heap_Get_information<br>
7 (0x00007d): putchar<br>
8 (0x000085): BSP_output_char<br>
9 (0x000095): rtems<br>
10 (0x00009b):<br>
Symbols: 0x00000bc8 (3016) size: 96<br>
data section value name<br>
0: 0x0012 .text 0x00000000 rtems<br>
1: 0x0012 .text 0x00000000 rtems_object_get_name<br>
2: 0x0012 .text 0x00000000 _Heap_Get_information<br>
3: 0x0012 .text 0x00000000 _Heap_Iterate<br>
4: 0x0012 .text 0x00000000 _Objects_Get_name_as_string<br>
5: 0x0012 .text 0x00000000 _Protected_heap_Get_information<br>
6: 0x0012 .text 0x00000000 putchar<br>
7: 0x0011 .data 0x00000000 BSP_output_char<br>
<br>
Dynamic loader say: Duplicate symbol BSP_output_char<br>
and stop loading.<br>
<br>
2. Also after allocate .bss section it not zeroed and static uninitialized symbols have undefined value.<br>
In standart linker bss section zeroed in startup procedure.<br>
May be need memset after allocate bss section?<br>
<br>
Sorry for my english<br>
With best reagrds, Serg Kruglov<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.rtems.org/pipermail/users/attachments/20160115/51e7d060/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.rtems.org/pipermail/users/attachments/20160115/51e7d060/attachment-0001.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: wlEmoticon-smile[1].png<br>
Type: image/png<br>
Size: 1046 bytes<br>
Desc: not available<br>
URL: <<a href="http://lists.rtems.org/pipermail/users/attachments/20160115/51e7d060/attachment-0001.png" rel="noreferrer" target="_blank">http://lists.rtems.org/pipermail/users/attachments/20160115/51e7d060/attachment-0001.png</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 16 Jan 2016 16:07:35 +1100<br>
From: Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>><br>
To: ?????? ??????? <<a href="mailto:sergkruglov@bk.ru">sergkruglov@bk.ru</a>>, <a href="mailto:users@rtems.org">users@rtems.org</a><br>
Subject: Re: About "Add per-section compilation and linking support"<br>
and libdl<br>
Message-ID: <<a href="mailto:5699D017.8090109@rtems.org">5699D017.8090109@rtems.org</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
On 16/01/2016 2:15 AM, ?????? ??????? wrote:<br>
> I succesfully use libdl with mips processors (R300 with small correct<br>
> resole mips16 relocs).<br>
<br>
Do you have a patch for this?<br>
<br>
> RTEMS 4.11 and 4.12<br>
> 1. After patch rtems ?Add per-section compilation and linking support"<br>
> image size reduce 811400 ?> 653864.<br>
> It?s OK, but now rap file generate incorrectly and not load.<br>
> Test program only get and print lists tasks, semaphores, messages, periiods.<br>
> Without per-section compilation symbol map:<br>
> size align offset<br>
> .text: 2000 16 0x00000054 (84)<br>
> .const: 368 0 0x00000824 (2084)<br>
> .ctor: 0 0 0x00000994 (2452)<br>
> .dtor: 0 0 0x00000994 (2452)<br>
> .data: 0 16 0x00000994 (2452)<br>
> .bss: 0 16 -<br>
> strtab: 82 - 0x00000994 (2452)<br>
> symtab: 48 - 0x000009e6 (2534)<br>
> relocs: 1332 - 0x00000a16 (2582)<br>
> Details: 0x00000020 (32)<br>
> No details<br>
> Strings: 0x00000994 (2452) size: 82<br>
> 0 (0x000000):<br>
> 1 (0x000001): rtems<br>
> 2 (0x000007): _Heap_Get_information<br>
> 3 (0x00001d): _Heap_Iterate<br>
> 4 (0x00002b): _Protected_heap_Get_information<br>
> 5 (0x00004b): rtems<br>
> 6 (0x000051):<br>
> Symbols: 0x000009e6 (2534) size: 48<br>
> data section value name<br>
> 0: 0x0012 .text 0x00000000 rtems<br>
> 1: 0x0012 .text 0x00000000 _Heap_Get_information<br>
> 2: 0x0012 .text 0x00000000 _Heap_Iterate<br>
> 3: 0x0012 .text 0x00000000 _Protected_heap_Get_information<br>
><br>
> With per-section compilation symbol map:<br>
> size align offset<br>
> .text: 2404 16 0x00000054 (84)<br>
> .const: 368 0 0x000009b8 (2488)<br>
> .ctor: 0 0 0x00000b28 (2856)<br>
> .dtor: 0 0 0x00000b28 (2856)<br>
> .data: 4 16 0x00000b28 (2856)<br>
> .bss: 0 16 -<br>
> strtab: 156 - 0x00000b2c (2860)<br>
> symtab: 96 - 0x00000bc8 (3016)<br>
> relocs: 1488 - 0x00000c28 (3112)<br>
> Details: 0x00000020 (32)<br>
> No details<br>
> Strings: 0x00000b2c (2860) size: 156<br>
> 0 (0x000000):<br>
> 1 (0x000001): rtems<br>
> 2 (0x000007): rtems_object_get_name<br>
> 3 (0x00001d): _Heap_Get_information<br>
> 4 (0x000033): _Heap_Iterate<br>
> 5 (0x000041): _Objects_Get_name_as_string<br>
> 6 (0x00005d): _Protected_heap_Get_information<br>
> 7 (0x00007d): putchar<br>
> 8 (0x000085): BSP_output_char<br>
> 9 (0x000095): rtems<br>
> 10 (0x00009b):<br>
> Symbols: 0x00000bc8 (3016) size: 96<br>
> data section value name<br>
> 0: 0x0012 .text 0x00000000 rtems<br>
> 1: 0x0012 .text 0x00000000 rtems_object_get_name<br>
> 2: 0x0012 .text 0x00000000 _Heap_Get_information<br>
> 3: 0x0012 .text 0x00000000 _Heap_Iterate<br>
> 4: 0x0012 .text 0x00000000 _Objects_Get_name_as_string<br>
> 5: 0x0012 .text 0x00000000 _Protected_heap_Get_information<br>
> 6: 0x0012 .text 0x00000000 putchar<br>
> 7: 0x0011 .data 0x00000000 BSP_output_char<br>
><br>
> Dynamic loader say: Duplicate symbol BSP_output_char<br>
> and stop loading.<br>
<br>
This is strange. I suspect a bug has been triggered.<br>
<br>
><br>
> 2. Also after allocate .bss section it not zeroed and static<br>
> uninitialized symbols have undefined value.<br>
> In standart linker bss section zeroed in startup procedure.<br>
> May be need memset after allocate bss section?<br>
><br>
<br>
I suspect the bug is causing the same problem.<br>
<br>
Can you please raise a ticket in Trac and document the configure command<br>
line for RTEMS plus attach an example main for RTEMS, the app code and a<br>
script to build them. I can then take a closer look.<br>
<br>
Thanks<br>
Chris<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
<br>
------------------------------<br>
<br>
End of users Digest, Vol 112, Issue 8<br>
*************************************<br>
</blockquote></div><br></div>