Re: [patch][aarch64-*-*freebsd*] Enable TARGET_DEFAULT_ASYNC_UNWIND_TABLES

2018-12-20 Thread Richard Earnshaw (lists)
On 12/12/2018 21:32, Andreas Tobler wrote:
> Hi all,
> 
> I have this patch since a longer time in my tree. No obvious fallout
> visible.
> 
> I'm going to commit this patch in the next days if no one objects.
> 
> TIA,
> Andreas
> 
> 2018-12-12  Andreas Tobler  
> 
> * config.gcc: Enable TARGET_DEFAULT_ASYNC_UNWIND_TABLES on
> aarch64*-*-freebsd*.
> 

This is OK (we already do it for linux, so I suggest you just go ahead).

R.

> 
> Index: gcc/config.gcc
> ===
> --- gcc/config.gcc    (revision 267063)
> +++ gcc/config.gcc    (working copy)
> @@ -1012,6 +1012,7 @@
>  tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file}"
>  tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-freebsd.h"
>  tmake_file="${tmake_file} aarch64/t-aarch64 aarch64/t-aarch64-freebsd"
> +    tm_defines="${tm_defines}  TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1"
>  ;;
>  aarch64*-*-linux*)
>  tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h
> glibc-stdint.h"



[patch][aarch64-*-*freebsd*] Enable TARGET_DEFAULT_ASYNC_UNWIND_TABLES

2018-12-12 Thread Andreas Tobler

Hi all,

I have this patch since a longer time in my tree. No obvious fallout 
visible.


I'm going to commit this patch in the next days if no one objects.

TIA,
Andreas

2018-12-12  Andreas Tobler  

* config.gcc: Enable TARGET_DEFAULT_ASYNC_UNWIND_TABLES on
aarch64*-*-freebsd*.


Index: gcc/config.gcc
===
--- gcc/config.gcc  (revision 267063)
+++ gcc/config.gcc  (working copy)
@@ -1012,6 +1012,7 @@
tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file}"
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-freebsd.h"
tmake_file="${tmake_file} aarch64/t-aarch64 aarch64/t-aarch64-freebsd"
+   tm_defines="${tm_defines}  TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1"
;;
 aarch64*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h"