[PATCH, netbsd] Define TARGET_D_CRITSEC_SIZE for D language

Iain Buclaw ibuclaw@gdcproject.org
Thu Apr 25 10:04:00 GMT 2019


On Wed, 24 Apr 2019 at 15:28, Kamil Rytarowski <n54@gmx.com> wrote:
>
> On 24.04.2019 13:25, Iain Buclaw wrote:
> > On Wed, 24 Apr 2019 at 13:03, Kamil Rytarowski <n54@gmx.com> wrote:
> >>
> >> On 24.04.2019 03:30, Iain Buclaw wrote:
> >>> On Wed, 24 Apr 2019 at 01:56, Kamil Rytarowski <n54@gmx.com> wrote:
> >>>>
> >>>> On 24.04.2019 01:13, Iain Buclaw wrote:
> >>> https://explore.dgnu.org/z/U29cni
> >>>
> >>> I'll add special handling for them, but otherwise 48/28 looks like the
> >>> reasonable default.
> >>>
> >>
>
> OK, so please go for this.
>

On inspection, it looks like there's no current configuration handling
of aarch64-netbsd, hppa-netbsd, nor hppa64-netbsd.

I've updated the patch to add them, and I've tested with
config-list.mk LIST="aarch64-netbsd hppa-netbsd hppa64-netbsd",
however I don't think that the changes to config.gcc should be
included unless it has been ported proper.

-- 
Iain
---
gcc/ChangeLog:

2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>

        * config.gcc (aarch64*-*-netbsd*, hppa*64*-*-netbsd*,
        hppa*-*-netbsd*): Add configurations.
        * config/aarch64/aarch64-netbsd.h: New file.
        * config/netbsd-d.c (netbsd_d_critsec_size): New function.
        (TARGET_D_CRITSEC_SIZE): Define as netbsd_d_critsec_size.
        * config/pa/pa-netbsd.h: New file.

---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netbsd-d.patch
Type: text/x-patch
Size: 4383 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190425/9fe94f26/attachment.bin>


More information about the Gcc-patches mailing list