patches/binutils/2.20/210-generate-gnu-hash.patch
author Richard Strand <richard.strand@icomera.com>
Sun Jan 10 15:19:25 2010 +0000 (2010-01-10)
changeset 1720 3995b34ba925
permissions -rw-r--r--
scrips/functions: fix downloads using curl

By default curl doesn't folow redirects. This breaks sourceforge downloads.
Add the -L option to curl to fix this.

Curl also downloads the html as a file even when it gets a 404. This breaks
http downloads when using the failback system. Add the -f option to curl to fix
this.

Signed-off-by: Richard Strand <richard.strand@icomera.com>
     1 --- binutils/ld/ldmain.c
     2 +++ binutils/ld/ldmain.c
     3 @@ -273,2 +273,5 @@ main (int argc, char **argv)
     4    link_info.emit_hash = TRUE;
     5 +#ifndef __mips__
     6 +  link_info.emit_gnu_hash = TRUE;
     7 +#endif
     8    link_info.callbacks = &link_callbacks;