Hi,
I have a custom library in which I'm not sure if the code & data sections
are being mapped correctly. I see that all the C++ methods are listed under
the .rodata section. Don't they have to be under .text? The C functions
however are properly listed under .text. Is there any compiler/linke
On 17/03/11 06:27, HV wrote:
Hi,
I have a custom library in which I'm not sure if the code & data
sections are being mapped correctly. I see that all the C++ methods
are listed under the .rodata section. Don't they have to be under .text?
Sounds like you are right.
The C functions however ar
Hi Shachar,
Thanks for your response. This is what I did to get the sections:
objdump -Sx mylib.so > mylib.map
& in the .map file I noticed all C++ methods under .rodata. OK, if this is a
compile time task, am I missing some flag here? btw, this is a MIPS (not
ARM) build.
Best regards
HV
--
Sorry, false alarm. Lot of names are very similar (fields and methods).
Since I have tons of data, I got a little confused, sorry about that
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
On 17/03/11 09:46, HV wrote:
Sorry, false alarm. Lot of names are very similar (fields and
methods). Since I have tons of data, I got a little confused, sorry
about that --
I usually dump the sections using objdump. It has an option (-C) to
demangle the C++ names so that they appear as they
Tried it & that sort of dereferencing certainly helps, thanks again
HV
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting