Re: [PATCH] Fix ctrstuff.c with init_array support

2011-12-06 Thread Richard Henderson
On 12/05/2011 05:42 PM, Andrew Pinski wrote: > libgcc/ChangeLog: > * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the > size of func_ptr. > (__frame_dummy_init_array_entry): Likewise. Ok. r~

Re: [PATCH] Fix ctrstuff.c with init_array support

2011-12-06 Thread David Daney
On 12/05/2011 07:38 PM, H.J. Lu wrote: On Mon, Dec 5, 2011 at 5:42 PM, Andrew Pinski wrote: Hi, Like the .ctors array, __do_global_dtors_aux_fini_array_entry and __frame_dummy_init_array_entry arrays need a specific alignment. This patch fixes those two arrays. This patch fixes the bootstr

Re: [PATCH] Fix ctrstuff.c with init_array support

2011-12-05 Thread H.J. Lu
On Mon, Dec 5, 2011 at 5:42 PM, Andrew Pinski wrote: > Hi, >  Like the .ctors array, __do_global_dtors_aux_fini_array_entry and > __frame_dummy_init_array_entry arrays need a specific alignment.  This > patch fixes those two arrays.  This patch fixes the bootstrap on > mips64-linux-gnu. > > Bootst