FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2008, 11:23 AM
[email protected]
Guest
 
Posts: n/a
Default a question about linker map file

Hi,

I'm currently working in a POSIX thread management and synchronization
library upon xilkernel + (powerpc/microblaze). This library really
provides to user all thread-related xilkernel services plus
conditional variables and thread-specific data). Now, I'm interested
in measuring the size of this library in a specific executable
application.

I have generated the map file but there are a few sections, such
us, .stab, .stabstr, .comment, or things as "size before relaxing"
that I don't understand. I can't find good documentation in Internet
about this matter.

1. Can anyone explain me the purpose of these sections?
2. Where can I find documentation about this issue in Internet?

PD. Sorry for my English.

Best regards,
Paco
Reply With Quote
  #2 (permalink)  
Old 07-18-2008, 11:44 AM
Newman
Guest
 
Posts: n/a
Default Re: a question about linker map file

On Jul 18, 5:23*am, ppero...@gmail.com wrote:
> Hi,
>
> I'm currently working in a POSIX thread management and synchronization
> library upon xilkernel + (powerpc/microblaze). This library really
> provides to user all thread-related xilkernel services plus
> conditional variables and thread-specific data). Now, I'm interested
> in measuring the size of this library in a specific executable
> application.
>
> I have generated the map file but there are a few sections, such
> us, .stab, .stabstr, .comment, or things as "size before relaxing"
> that I don't understand. I can't find good documentation in Internet
> about this matter.
>
> 1. Can anyone explain me the purpose of these sections?
> 2. Where can I find documentation about this issue in Internet?
>
> PD. Sorry for my English.
>
> Best regards,
> Paco


I did a google of stab linker and got a bunch of hits.

http://developer.apple.com/documenta.../stabs_13.html
Reply With Quote
  #3 (permalink)  
Old 07-18-2008, 12:45 PM
[email protected]
Guest
 
Posts: n/a
Default Re: a question about linker map file

On Jul 18, 11:44 am, Newman <newman5...@yahoo.com> wrote:
> On Jul 18, 5:23 am, ppero...@gmail.com wrote:
>
>
>
> > Hi,

>
> > I'm currently working in a POSIX thread management and synchronization
> > library upon xilkernel + (powerpc/microblaze). This library really
> > provides to user all thread-related xilkernel services plus
> > conditional variables and thread-specific data). Now, I'm interested
> > in measuring the size of this library in a specific executable
> > application.

>
> > I have generated the map file but there are a few sections, such
> > us, .stab, .stabstr, .comment, or things as "size before relaxing"
> > that I don't understand. I can't find good documentation in Internet
> > about this matter.

>
> > 1. Can anyone explain me the purpose of these sections?
> > 2. Where can I find documentation about this issue in Internet?

>
> > PD. Sorry for my English.

>
> > Best regards,
> > Paco

>
> I did a google of stab linker and got a bunch of hits.
>
> http://developer.apple.com/documenta.../gdb/stabs/sta...


Newman,

I had already visited that url, but I didn't do a deeply search.
Sorry.

I have found more info about stabs in the next url:

http://developer.apple.com/documenta...bs_1.html#SEC1

It seems to be that this section is used for debugging purposes (gdb),
but all my applications, my library and xilkernel are compiled without
the -g option (and with -O2), so no debug information should appear in
the map file. Does anybody have more precise information about this?

Best regards,
Paco
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
.rbt file question Pawi FPGA 0 02-16-2005 04:49 AM
Xilinx mb-gcc, linker scripts and splitting Object-file sections Ruediger Scheidig FPGA 0 05-26-2004 12:38 PM
newbie linker script question Tom Tassignon FPGA 1 10-15-2003 03:46 PM


All times are GMT +1. The time now is 02:35 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved