Charles Hardin wrote:

charles> Using objcopy on a linux distro results in unresolved symbols

[ basically:  _binary_startup_tcl_size vrs binary_startup_tcl_size]

EEK... This needs an #IFDEF  linux/cygwin....

Otherwise your patch will break.

Nasty problem. there should be a better way of handling this, sadly there is 
not.

I ran into this years ago - "objcopy" does not let you specify the symbol name.
It creates it based on the filename... and munges all 'badchars' to _.
(hence, my earlier patch fixing srcdir != builddir)

For example...    ../src/foobar.dat 
Becomes:          ___src_foobar_dat

I'd love an option on objcopy to specify the F-ing variable name.

charles>  So, not sure if the objcopy in cygwin is not doing this? but, this 
patch gets
        openocd thru the link

CYGWIN needs it the other way. 

Hence, an #ifdef is needed.

-Duane.



_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to