[PATCH v2] LoongArch: Fix relaxation alignment with ld -r (PR 33236)

Xi Ruoyao xry111@xry111.site
Sun Jun 21 04:09:21 GMT 2026


On Thu, 2026-06-18 at 15:01 +0800, mengqinggang wrote:
> +	case lang_input_section_enum:
> +	  if (l->input_section.section == input_section)
> +	    {
> +	      /* We've found our section.  Insert the align
> immediately
> +		 before its associated input section.  */
> +	      //*(add.tail) = l->header.next;
> +	      //l->header.next = add.head;

Again, remove them.  A patch shouldn't contain such a draft remnant
unless it's an RFC.  And IIRC binutils code base is still C89 where C++-
style comment is not allowed.

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Binutils mailing list