[PATCH] ld: Add pdb support to aarch64-w64-mingw32

Jan Beulich jbeulich@suse.com
Tue Jan 24 07:29:49 GMT 2023


On 24.01.2023 00:01, Mark Harmstone wrote:
> This extends PDB support to the aarch64 PE targets.
> 
> The changes to the test files are just to make it so they can be assembled as
> either x86, x86_64, or aarch64, mainly by changing the comment style.
> The only actual code change here is in adding the architecture constants
> to pdb.c.

Lgtm, so feel free to commit. One question though:

> --- a/ld/testsuite/ld-pe/pdb.exp
> +++ b/ld/testsuite/ld-pe/pdb.exp
> @@ -19,7 +19,8 @@
>  # MA 02110-1301, USA.
>  
>  if {![istarget i*86-*-mingw*]
> -  && ![istarget x86_64-*-mingw*]} {
> +  && ![istarget x86_64-*-mingw*]
> +  && ![istarget aarch64-*-mingw*]} {
>      return
>  }

Why only *-*-mingw* targets here? What about the others also permitting
PDB generation?

Jan


More information about the Binutils mailing list