]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/ld: disable relocation range check so build can go green while we debug the issue.
authorRob Pike <r@golang.org>
Tue, 30 Apr 2013 07:19:21 +0000 (00:19 -0700)
committerRob Pike <r@golang.org>
Tue, 30 Apr 2013 07:19:21 +0000 (00:19 -0700)
R=golang-dev, dsymonds, dave
CC=golang-dev
https://golang.org/cl/9038043

src/cmd/ld/data.c

index f7e585b917d31464aa6f6e7fb3ab5ac72cad5b15..c57c0c69b61cd21e27d8d33d191e95bf5545a1ff 100644 (file)
@@ -259,7 +259,8 @@ relocsym(Sym *s)
                        cursym = s;
                        diag("bad reloc size %#ux for %s", siz, r->sym->name);
                case 4:
-                       if(o != (int32)o) {
+                       // TODO: Test is causing breakages on ARM and Windows. Disable for now.
+                       if(0 && o != (int32)o) {
                                cursym = S;
                                diag("relocation address is too big: %#llx", o);
                        }