Quantcast

Re: arm/161128: commit references a PR

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: arm/161128: commit references a PR

dfilter service
The following reply was made to PR arm/161128; it has been noted by GNATS.

From: [hidden email] (dfilter service)
To: [hidden email]
Cc:  
Subject: Re: arm/161128: commit references a PR
Date: Wed,  9 Nov 2011 16:14:41 +0000 (UTC)

 Author: fabient
 Date: Wed Nov  9 15:59:02 2011
 New Revision: 227391
 URL: http://svn.freebsd.org/changeset/base/227391
 
 Log:
   Import gcc fix for -fstack-protector that produces segfaulting
   binaries on arm/armel.
   
   Related gcc bug:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
   
   PR: 161128
   MFC after: 1 week
 
 Modified:
   head/contrib/gcc/config/arm/arm.c
 
 Modified: head/contrib/gcc/config/arm/arm.c
 ==============================================================================
 --- head/contrib/gcc/config/arm/arm.c Wed Nov  9 15:21:48 2011 (r227390)
 +++ head/contrib/gcc/config/arm/arm.c Wed Nov  9 15:59:02 2011 (r227391)
 @@ -3217,7 +3217,8 @@ legitimize_pic_address (rtx orig, enum m
   gcc_assert (!no_new_pseudos);
   if (arm_pic_register != INVALID_REGNUM)
     {
 -      cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 +      if (!cfun->machine->pic_reg)
 + cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 @@ -3229,7 +3230,8 @@ legitimize_pic_address (rtx orig, enum m
     {
       rtx seq;
 
 -      cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 +      if (!cfun->machine->pic_reg)
 +  cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 _______________________________________________
 [hidden email] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[hidden email]"
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: arm/161128: commit references a PR

dfilter service
The following reply was made to PR arm/161128; it has been noted by GNATS.

From: [hidden email] (dfilter service)
To: [hidden email]
Cc:  
Subject: Re: arm/161128: commit references a PR
Date: Wed, 16 Nov 2011 14:33:41 +0000 (UTC)

 Author: fabient
 Date: Wed Nov 16 14:33:30 2011
 New Revision: 227551
 URL: http://svn.freebsd.org/changeset/base/227551
 
 Log:
   MFC r227391:
   Import gcc fix for -fstack-protector that produces segfaulting
   binaries on arm/armel.
   
   Related gcc bug:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
   
   Author kindly accepted that all of his patches can be use as GPLv2.
   
   PR: 161128
 
 Modified:
   stable/8/contrib/gcc/config/arm/arm.c
 Directory Properties:
   stable/8/contrib/gcc/   (props changed)
 
 Modified: stable/8/contrib/gcc/config/arm/arm.c
 ==============================================================================
 --- stable/8/contrib/gcc/config/arm/arm.c Wed Nov 16 10:11:55 2011 (r227550)
 +++ stable/8/contrib/gcc/config/arm/arm.c Wed Nov 16 14:33:30 2011 (r227551)
 @@ -3217,7 +3217,8 @@ legitimize_pic_address (rtx orig, enum m
   gcc_assert (!no_new_pseudos);
   if (arm_pic_register != INVALID_REGNUM)
     {
 -      cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 +      if (!cfun->machine->pic_reg)
 + cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 @@ -3229,7 +3230,8 @@ legitimize_pic_address (rtx orig, enum m
     {
       rtx seq;
 
 -      cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 +      if (!cfun->machine->pic_reg)
 +  cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 _______________________________________________
 [hidden email] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[hidden email]"
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: arm/161128: commit references a PR

dfilter service
In reply to this post by dfilter service
The following reply was made to PR arm/161128; it has been noted by GNATS.

From: [hidden email] (dfilter service)
To: [hidden email]
Cc:  
Subject: Re: arm/161128: commit references a PR
Date: Wed, 16 Nov 2011 14:38:02 +0000 (UTC)

 Author: fabient
 Date: Wed Nov 16 14:37:47 2011
 New Revision: 227552
 URL: http://svn.freebsd.org/changeset/base/227552
 
 Log:
   MFC r227391:
   Import gcc fix for -fstack-protector that produces segfaulting
   binaries on arm/armel.
   
   Related gcc bug:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
   
   Author kindly accepted that all of his patches can be use as GPLv2.
   
   PR: 161128
 
 Modified:
   stable/7/contrib/gcc/config/arm/arm.c
 Directory Properties:
   stable/7/contrib/gcc/   (props changed)
 
 Modified: stable/7/contrib/gcc/config/arm/arm.c
 ==============================================================================
 --- stable/7/contrib/gcc/config/arm/arm.c Wed Nov 16 14:33:30 2011 (r227551)
 +++ stable/7/contrib/gcc/config/arm/arm.c Wed Nov 16 14:37:47 2011 (r227552)
 @@ -3217,7 +3217,8 @@ legitimize_pic_address (rtx orig, enum m
   gcc_assert (!no_new_pseudos);
   if (arm_pic_register != INVALID_REGNUM)
     {
 -      cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 +      if (!cfun->machine->pic_reg)
 + cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 @@ -3229,7 +3230,8 @@ legitimize_pic_address (rtx orig, enum m
     {
       rtx seq;
 
 -      cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 +      if (!cfun->machine->pic_reg)
 +  cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 _______________________________________________
 [hidden email] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[hidden email]"
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: arm/161128: commit references a PR

dfilter service
In reply to this post by dfilter service
The following reply was made to PR arm/161128; it has been noted by GNATS.

From: [hidden email] (dfilter service)
To: [hidden email]
Cc:  
Subject: Re: arm/161128: commit references a PR
Date: Fri, 18 Nov 2011 14:42:07 +0000 (UTC)

 Author: fabient
 Date: Fri Nov 18 14:41:48 2011
 New Revision: 227664
 URL: http://svn.freebsd.org/changeset/base/227664
 
 Log:
   MFC r227391:
   Import gcc fix for -fstack-protector that produces segfaulting
   binaries on arm/armel.
   
   Related gcc bug:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
   
   Author kindly accepted that all of his patches can be use as GPLv2.
   
   PR: 161128
   Approved by: re (kib)
 
 Modified:
   stable/9/contrib/gcc/config/arm/arm.c
 Directory Properties:
   stable/9/contrib/gcc/   (props changed)
 
 Modified: stable/9/contrib/gcc/config/arm/arm.c
 ==============================================================================
 --- stable/9/contrib/gcc/config/arm/arm.c Fri Nov 18 11:18:59 2011 (r227663)
 +++ stable/9/contrib/gcc/config/arm/arm.c Fri Nov 18 14:41:48 2011 (r227664)
 @@ -3217,7 +3217,8 @@ legitimize_pic_address (rtx orig, enum m
   gcc_assert (!no_new_pseudos);
   if (arm_pic_register != INVALID_REGNUM)
     {
 -      cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 +      if (!cfun->machine->pic_reg)
 + cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 @@ -3229,7 +3230,8 @@ legitimize_pic_address (rtx orig, enum m
     {
       rtx seq;
 
 -      cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 +      if (!cfun->machine->pic_reg)
 +  cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 _______________________________________________
 [hidden email] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[hidden email]"
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: arm/161128: commit references a PR

dfilter service
In reply to this post by dfilter service
The following reply was made to PR arm/161128; it has been noted by GNATS.

From: [hidden email] (dfilter service)
To: [hidden email]
Cc:  
Subject: Re: arm/161128: commit references a PR
Date: Fri, 18 Nov 2011 14:56:19 +0000 (UTC)

 Author: fabient
 Date: Fri Nov 18 14:56:06 2011
 New Revision: 227665
 URL: http://svn.freebsd.org/changeset/base/227665
 
 Log:
   MFC r227391:
   Import gcc fix for -fstack-protector that produces segfaulting
   binaries on arm/armel.
   
   Related gcc bug:
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965
   
   Author kindly accepted that all of his patches can be use as GPLv2.
   
   PR: 161128
   Approved by: re (kib)
 
 Modified:
   releng/9.0/contrib/gcc/config/arm/arm.c
 Directory Properties:
   releng/9.0/contrib/gcc/   (props changed)
 
 Modified: releng/9.0/contrib/gcc/config/arm/arm.c
 ==============================================================================
 --- releng/9.0/contrib/gcc/config/arm/arm.c Fri Nov 18 14:41:48 2011 (r227664)
 +++ releng/9.0/contrib/gcc/config/arm/arm.c Fri Nov 18 14:56:06 2011 (r227665)
 @@ -3217,7 +3217,8 @@ legitimize_pic_address (rtx orig, enum m
   gcc_assert (!no_new_pseudos);
   if (arm_pic_register != INVALID_REGNUM)
     {
 -      cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 +      if (!cfun->machine->pic_reg)
 + cfun->machine->pic_reg = gen_rtx_REG (Pmode, arm_pic_register);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 @@ -3229,7 +3230,8 @@ legitimize_pic_address (rtx orig, enum m
     {
       rtx seq;
 
 -      cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 +      if (!cfun->machine->pic_reg)
 +  cfun->machine->pic_reg = gen_reg_rtx (Pmode);
 
       /* Play games to avoid marking the function as needing pic
  if we are being called as part of the cost-estimation
 _______________________________________________
 [hidden email] mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "[hidden email]"
 
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Loading...