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: [patch gas]: Add pseudos for generation of runtime function entries by gas


On Mon, Aug 17, 2009 at 4:49 AM, Kai Tietz<ktietz70@googlemail.com> wrote:
> 2009/8/17 Nick Clifton <nickc@redhat.com>:
>> Hi Kai,
>>
>>> Ups, I found one typo within patch file, which prevents build. So here
>>> the update of the patch.
>>
>> Approved - please apply.
>>
>> Just FYI - I am not a fan of prototypes for static functions, eg:
>>
>> ?static seh_kind seh_get_target_kind (void);
>>
>> Most of the time these are unnecessary - just make sure that the function is
>> defined before it is used. ?Having the prototype does not help the compiler,
>> wastes space in the source file and means that there are two places to edit
>> when changing the parameters or return type of the function. ?Of course
>> there are situations where the prototype is needed, such as mutual
>> recursion, but these are the exception rather than the rule.
>>
>> Cheers
>> ?Nick
>>
>
> Well, I liked to group those functions, therefore I added those static
> function prototypes. But I'll begin to clean them up, so that just the
> necessary ones are remaining.
>
> Thanks for reviewing, applied.

It breaks Windows cross binutils:

http://sourceware.org/bugzilla/show_bug.cgi?id=10534

-- 
H.J.


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