1 --- /home/work-tmp/jbowler/nslu2/ucslugc.0807/work/uclibc-0.9.27-r5/uClibc-0.9.27/ldso/ldso/arm/dl-startup.h 2005-01-11 23:59:21.000000000 -0800
2 +++ uClibc-0.9.27/ldso/ldso/arm/dl-startup.h 2005-08-11 23:40:01.393797745 -0700
5 /* Overrive the default _dl_boot function, and replace it with a bit of asm.
6 * Then call the real _dl_boot function, which is now named _dl_boot2. */
7 +/*NOTE: the 'bx' instruction at the end replaces mov pc, r6 - which is not
8 + * compatible with thumb interworking. The instruction should be supported
9 + * on all modern ARM architectures (because they all support thumb). */
12 " .globl _dl_boot\n" \
21 #define DL_BOOT(X) static __attribute_used__ void* _dl_boot2 (X)