Subject: toolchain/33052: ld refuse "-Tdata" option on NetBSD/hpcmips
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nand@mac.com>
List: netbsd-bugs
Date: 03/10/2006 18:45:00
>Number: 33052
>Category: toolchain
>Synopsis: ld refuse "-Tdata" option on NetBSD/hpcmips
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 10 18:45:00 +0000 2006
>Originator: Nozomu Ando
>Release: 3.99.15
>Organization:
>Environment:
NetBSD hpcmips0 3.99.15 NetBSD 3.99.15 (LR) #0: Mon Feb 20 08:21:37 JST 2006 nand@mik:/w/netbsd/hpcmips/060216/obj/sys/arch/hpcmips/compile/LR hpcmips
>Description:
Since binutils revised 2.16.1, ld refuses "-Tdata" option and show an error message:
Not enough room for program headers (allocated 7, need 8)
>How-To-Repeat:
% echo "main(){}" > a.c
% cc -Wl,-Tdata,0x10000000 a.c
ld: a.out: Not enough room for program headers (allocated 7, need 8)
ld: final link failed: Bad value
>Fix: