This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Re: [PATCH 1/5] New target port: Andes 'nds32'. (bfd)"


Hi, Nick

Thanks for your review and comment.

I have updated this patch as follows:
1. Replace all PTR uses.
2. Fix a warning about using an uninitialized variable.

By the way, I can not find the 13th parameter of RELOC_FOR_GLOBAL_SYMBOL macro.
I only find a macro definition in bfd/elf-bfd.h as follows:
#define RELOC_FOR_GLOBAL_SYMBOL(info, input_bfd, input_section, rel,
                                r_symndx, symtab_hdr, sym_hashes,
                                h, sec, relocation,
                                unresolved_reloc, warned)

2013/12/6 nick clifton <nickc@redhat.com>:
> Hi Kuan-Lin,
>
>   There are two problems with this patch:
>
>   1.  You are using the PTR macro where "void *" should be used.
>
>   2.  Your invocations of the RELOC_FOR_GLOBAL_SYMBOL macro is missing a
> 13th parameter.
>
> Cheers
>   Nick
>



-- 
Best regards,
Kuan-Lin Chen.
kuanlinchentw@gmail.com

Attachment: patch1.tar.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]