]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- updated
authoraflinta <aflinta@pld-linux.org>
Wed, 23 Oct 2002 23:04:03 +0000 (23:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc32-tls.patch -> 1.2
    gcc32-tls4.patch -> 1.2
    gcc32-tls5.patch -> 1.2

gcc32-tls.patch
gcc32-tls4.patch
gcc32-tls5.patch

index 0f3a413e2201cad7aef836a529a1b72967ffa6bf..d8ec11164f5e0ed30c10ff52764769bb3d372072 100644 (file)
  @end table
  
  @menu
-@@ -9910,6 +9910,14 @@ is to help link with legacy assembly cod
- Be warned that you should know what you are doing when invoking this
option, and that not all targets provide complete support for it.
+@@ -9988,6 +9988,14 @@
+ generate code that is not binary compatible with code generated without that
+ switch.  Use it to conform to a non-default application binary interface.
Not all targets provide complete support for this switch.
 +
 +@item -ftls-model=@var{model}
 +Alter the thread-local storage model to be used (@pxref{Thread-Local}).
 +The @var{model} argument should be one of @code{global-dynamic},
 +@code{local-dynamic}, @code{initial-exec} or @code{local-exec}.
-+
++ 
 +The default without @option{-fpic} is @code{initial-exec}; with
 +@option{-fpic} the default is @code{global-dynamic}.
  @end table
index 7595e6b09b335bfd3cf0ca4ffac395f4ac94f9e1..014c4038158166df1959628bc57a059737e38677 100644 (file)
@@ -26,7 +26,7 @@
 +__thread int l A("bar");  /* { dg-error "causes a section type conflict" "conflict with user-defined section" } */
 --- gcc/varasm.c.jj    2002-08-01 20:58:53.000000000 +0200
 +++ gcc/varasm.c       2002-08-08 16:10:15.000000000 +0200
-@@ -1597,6 +1597,13 @@ assemble_variable (decl, top_level, at_e
+@@ -1599,6 +1599,13 @@
    if (TREE_PUBLIC (decl))
      maybe_assemble_visibility (decl);
  
@@ -40,7 +40,7 @@
    /* Handle uninitialized definitions.  */
  
    /* If the decl has been given an explicit section name, then it
-@@ -1652,14 +1659,7 @@ assemble_variable (decl, top_level, at_e
+@@ -1654,14 +1661,7 @@
    if (TREE_PUBLIC (decl) && DECL_NAME (decl))
      globalize_decl (decl);
  
@@ -55,7 +55,7 @@
    variable_section (decl, reloc);
  
    /* dbxout.c needs to know this.  */
-@@ -5343,11 +5343,14 @@ default_section_type_flags (decl, name, 
+@@ -5345,11 +5345,14 @@
        || strcmp (name, ".sbss") == 0
        || strncmp (name, ".sbss.", 6) == 0
        || strncmp (name, ".gnu.linkonce.sb.", 17) == 0
index c3b5ab769d3b85f9891239d7c6dfaf2d7faba01e..2afc9534737ba9d641a18ca67cd90a14c3adcb0a 100644 (file)
@@ -13,7 +13,7 @@
 
 --- gcc/config/i386/i386.c.jj  2002-08-07 22:18:39.000000000 +0200
 +++ gcc/config/i386/i386.c     2002-08-08 18:18:18.000000000 +0200
-@@ -4850,8 +4850,6 @@ legitimate_constant_p (x)
+@@ -4861,8 +4861,6 @@
          {
          case UNSPEC_TPOFF:
            return local_exec_symbolic_operand (XVECEXP (inner, 0, 0), Pmode);
@@ -22,7 +22,7 @@
          default:
            return false;
          }
-@@ -4914,8 +4912,6 @@ legitimate_pic_operand_p (x)
+@@ -4921,8 +4919,6 @@
          {
          case UNSPEC_TPOFF:
            return local_exec_symbolic_operand (XVECEXP (inner, 0, 0), Pmode);
@@ -31,7 +31,7 @@
          default:
            return false;
          }
-@@ -5054,6 +5050,13 @@ legitimate_address_p (mode, addr, strict
+@@ -5048,6 +5044,13 @@
        debug_rtx (addr);
      }
  
@@ -45,7 +45,7 @@
    if (ix86_decompose_address (addr, &parts) <= 0)
      {
        reason = "decomposition failed";
-@@ -5521,7 +5524,9 @@ get_thread_pointer ()
+@@ -5499,7 +5502,9 @@
    rtx tp;
  
    tp = gen_rtx_UNSPEC (Pmode, gen_rtvec (1, const0_rtx), UNSPEC_TP);
@@ -56,7 +56,7 @@
    tp = force_reg (Pmode, tp);
  
    return tp;
-@@ -6611,17 +6615,6 @@ print_operand (file, x, code)
+@@ -6613,17 +6618,6 @@
        fprintf (file, "%s", dstr);
      }
  
@@ -74,7 +74,7 @@
    else
      {
        if (code != 'P')
-@@ -6660,6 +6653,16 @@ print_operand_address (file, addr)
+@@ -6662,6 +6656,16 @@
    rtx base, index, disp;
    int scale;
  
@@ -89,8 +89,8 @@
 +    }
 +
    if (! ix86_decompose_address (addr, &parts))
-     abort ();
+     {
+       output_operand_lossage ("Wrong address expression or operand constraint");
 --- gcc/testsuite/gcc.dg/tls/opt-2.c.jj        2002-08-08 18:36:32.000000000 +0200
 +++ gcc/testsuite/gcc.dg/tls/opt-2.c   2002-08-08 18:34:44.000000000 +0200
 @@ -0,0 +1,53 @@
This page took 0.050569 seconds and 4 git commands to generate.