1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:14:47 -07:00

ld: remove duplicate bss definitions

The EXTERN lines in elf.h already define these.
That's not a problem for most C compilers, but
apparently it is for some copies of the OS X linker.

Fixes #2167.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4936044
This commit is contained in:
Russ Cox 2011-08-22 23:23:57 -04:00
parent 9969803f6c
commit 3554325937

View File

@ -34,10 +34,7 @@
#include "../ld/lib.h"
#include "../ld/elf.h"
char *elfstrdat;
int elfstrsize;
int maxelfstr;
int elftextsh;
static int maxelfstr;
int
putelfstr(char *s)