>>> 6)--ffunction-sections with --gc-sections causes all code to be removed
>>> from output file. Needs corrections of linker scripts:
>>> .vectors :
>>> {
>>> PROVIDE (__vectors_start = .) ;
>>> *(.vectors*)
>>> KEEP(*(.vectors*))
>>>
>>> also, KEEP() must be added to all .initX, .finiX, .ctors and .dtors
>>> sections.
>>
>> ok, looks like an easy thing, there are just so many files... ;-)
> Maybe some (sed) script can help? Unfortunately I have no experience in
> *nix text processing utilites.
If somebody can tell me exact input and needed output, i'll do any `sed` job.
BTW, for UNIX files under winXX use Programmer's Notepad.
--
sed 'sed && sh + olecom = love' << ''
-o--=O`C
#oo'L O
<___=E M