Search the web
Sign In
New User? Sign Up
palmnest · Support for palmoid.com software
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ChangeTitle crash   Message List  
Reply | Forward Message #746 of 768 |
Re: ChangeTitle crash

--- In palmnest@yahoogroups.com, "Marcin Orlowski" <carlos@...> wrote:
> Today I took yahm_dev archive and built ChangeTitle example, just for
> fun. The code is pretty simple, builds nicely (arm-palmos-gcc 3.3.1,
> build-prc 2.3), but... it badly crashes on my Treo 650. If I remove
> all the strings from the oldtrap call (i.e. replace by NULL) - it
> works. Any Str... call - same effect. What basic do I miss there?

Any constant string or function pointer reference requires a special kind of
relocation (even
with -fPIC code due to the (somewhat broken) way gcc generates arm code. This is
called
".got" relative code. YAHM supports .got relocations but you need to use a
special version of
the build-prc. In the files section you can find the patch for build-prc that
produces the
required resources.







Sun Jul 16, 2006 10:11 am

il_demone_gu...
Offline Offline
Send Email Send Email

Forward
Message #746 of 768 |
Expand Messages Author Sort by Date

Hi, Today I took yahm_dev archive and built ChangeTitle example, just for fun. The code is pretty simple, builds nicely (arm-palmos-gcc 3.3.1, build-prc 2.3),...
Marcin Orlowski
borszczuk
Offline Send Email
Jul 14, 2006
10:38 pm

... Any constant string or function pointer reference requires a special kind of relocation (even with -fPIC code due to the (somewhat broken) way gcc...
il_demone_guardiano
il_demone_gu...
Offline Send Email
Jul 16, 2006
10:12 am

... Thank you for the explanation (I wish yamh_dev manual to be some more descriptive in such areas). I've spotted the patch but wasn't fully aware of what...
Marcin Orlowski
borszczuk
Offline Send Email
Jul 16, 2006
10:46 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help