Ping....

Atle Nissestad wrote:
> This patch fixes two issues which are triggered when compiling for nios2: 
> * Typo in a goto label 
> * Misplaced switch statement which probably is left from an older revision.
>
> - Atle
>
> Signed-off-by: Atle Nissestad <[EMAIL PROTECTED]>
> ---
>  elf2flt.c |    5 +----
>  1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/elf2flt.c b/elf2flt.c
> index 1cc6c03..e79a336 100644
> --- a/elf2flt.c
> +++ b/elf2flt.c
> @@ -736,7 +736,7 @@ dump_symbols(symbols, number_of_symbols);
>                                          give an error by default, and
>                                          require `safe' relocations to be
>                                          enumberated explicitly?).  */
> -                                     goto good_32bit_resolve_reloc;
> +                                     goto good_32bit_resolved_reloc;
>  #endif
>                               good_32bit_resolved_reloc:
>                                       if (bfd_big_endian (abs_bfd))
> @@ -988,8 +988,6 @@ dump_symbols(symbols, number_of_symbols);
>  #ifdef TARGET_nios2
>  #define  htoniosl(x) (x)
>  #define  niostohl(x) (x)
> -                     switch ((*p)->howto->type) 
> -                     {
>                               case R_NIOS2_BFD_RELOC_32:
>                                       relocation_needed = 1;
>                                       pflags = (FLAT_NIOS2_R_32 << 28);
> @@ -1142,7 +1140,6 @@ NIOS2_RELOC_ERR:
>                                       printf("Err: unexpected reloc type 
> %s(%d)\n", q->howto->name, q->howto->type);
>                                       bad_relocs++;
>                                       continue;
> -                     }
>  #endif /* TARGET_nios2 */
>  
>  #ifdef TARGET_sparc
>   
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to