http://sourceware.org/bugzilla/show_bug.cgi?id=13683
--- Comment #8 from Don Kinzer <dkinzer at zbasic dot net> 2012-02-15 16:48:20 UTC --- I back-ported the patch to ld 2.19.1. In doing so, I had to modify the patch slightly because that version of the source doesn't have the function exp_defsym(). I created a similar function and changed the yacc grammar action to invoke it when the --defsym option is seen. In testing, I can see that a defsym_node structure is created and put on the defsym_list list. Further, that single node is processed when ldexp_rerun_defsyms() is called and the two conditions therein are true allowing exp_fold_tree() to be called. This all suggests that I've patched my version correctly but the resulting executable image is the same as before: 000000c8 <main>: c8: 9b df rcall .-202 ; 0x0 <__vectors> ca: ff cf rjmp .-2 ; 0xca <main+0x2> If it works on your version of ld then it appears that there may be other changes required for v2.19.1. Regards, Don Kinzer -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils