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: xtensa: fix trampoline placement


Hi Max,

  Would you mind updating your recent commits please ?

> +	    /* Don't choose trampoline that contains the source.  */
> +	    if (source >= trampoline_frag->fr_address &&
> +		source <= trampoline_frag->fr_address + trampoline_frag->fr_fix)
> +	      continue;

  The GNU Coding standard requires that boolean conditional 
  operators should be at the start of a line, not the end:

https://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting

  So the above fragment, for example, should be:

	    /* Don't choose trampoline that contains the source.  */
	    if (source >= trampoline_frag->fr_address
		&& source <= trampoline_frag->fr_address + trampoline_frag->fr_fix)
	      continue;

  Thanks.

Cheers
  Nick


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