Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Dynamic libs (--linux, --pic) and linker command files

$
0
0

Hi Todd,

Thanks Todd, In a case where I passed the linker command file that just groups dbst, got and neardata,  the tags in the the dynamic section is all wrong. I understand that the placement will be different. DT_SYMTAB is marked as zero. DT_STRTAB has a non zero value but not the same as in the 'dynstr' section header. 
Also the program header that contains PT_DYNAMIC has memsz = 0, I am not sure how to interpret the same. I SYSV standards says that memsz can be 0 but I am not sure if this is the expected behavior.

Are the 3 mentioned above an expected behavior in case a linker cmd file is passed.

Also if i just pass a linker cmd file that just has section grouping of my algorithm DATA and CODE sections along with the memory regions the linker gives an error that ."fatal error: the section ".dsbt" should be allocated to memory explicitly in the linker command file". So this leaves me no option but to group all EABI sections.

Regards

Krishna


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>