[PATCH] binutils/objcopy: keep relocation while renaming a section with explicit flags

Patrick Monnerat patrick@monnerat.net
Mon Nov 14 14:11:02 GMT 2022


Thanks for your objcopy fix Alan. It works for me.

On 11/14/22 04:14, Alan Modra via Binutils wrote:
> For now, xfail the new test.  Some header/aux-header rewriting is
> required at the very least.
>
> 	* testsuite/binutils-all/rename-section-01.d: xfail xcoff.
>
> diff --git a/binutils/testsuite/binutils-all/rename-section-01.d b/binutils/testsuite/binutils-all/rename-section-01.d
> index 21d901326c6..4bde93a2e0b 100644
> --- a/binutils/testsuite/binutils-all/rename-section-01.d
> +++ b/binutils/testsuite/binutils-all/rename-section-01.d
> @@ -4,6 +4,7 @@
>   #objcopy: --rename-section .data=myrodata,contents,alloc,load,readonly
>   #objdump: -r
>   #notarget: alpha*-*-*vms* rx-*-elf [is_som_format] [is_aout_format]
> +#xfail: [is_xcoff_format]
>   
>   .*: +file format .*
>   
>


More information about the Binutils mailing list