2011-03-29 02:15:50     bfin-uclinux-flthdr for application compiled with mfdpic

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-03-29 02:15:50     bfin-uclinux-flthdr for application compiled with mfdpic

Mahalakshmi M (INDIA)

Message: 99392   

 

Can i use bfin-uclinux-flthdr for my application . My application is built with  " -mfdpic "

 

Please provide ur views.

 

QuoteReplyEditDelete

 

 

2011-03-29 02:18:52     Re: bfin-uclinux-flthdr for application compiled with mfdpic

Mike Frysinger (UNITED STATES)

Message: 99393   

 

no, it makes no sense.  flthdr is for FLAT binaries.  -mfdpic produces FDPIC binaries.

 

what exactly is it you're trying to do that you think you need flthdr ?

QuoteReplyEditDelete

 

 

2011-03-29 02:23:35     Re: bfin-uclinux-flthdr for application compiled with mfdpic

Mahalakshmi M (INDIA)

Message: 99394   

 

I am trying to check the stack size of my multi threaded application using flthdr. Is there any way i can get the stack size for fdpic bin?

QuoteReplyEditDelete

 

 

2011-03-29 02:26:31     Re: bfin-uclinux-flthdr for application compiled with mfdpic

Mike Frysinger (UNITED STATES)

Message: 99396   

 

please read the documentation:

  docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications#fdpic_elf_binaries

QuoteReplyEditDelete

 

 

2011-03-29 03:22:48     Re: bfin-uclinux-flthdr for application compiled with mfdpic

Mahalakshmi M (INDIA)

Message: 99418   

 

Can we make a fdpichdr to change the stack size of my thread in the application

?

Also if i type "fdpichdr --stack-size 0x40000 test" in my host it displays

-bash: fdpichdr: command not found

 

 

QuoteReplyEditDelete

 

 

2011-03-29 14:00:40     Re: bfin-uclinux-flthdr for application compiled with mfdpic

Mike Frysinger (UNITED STATES)

Message: 99431   

 

the initial app stack has no bearing on thread stacks.  you have to use the standard pthreads api for controlling thread stack size.

Attachments

    Outcomes