Subject: Re: bin/8019: libbfd warning on sparc / kern/8018
To: None <bouyer@antioche.eu.org, current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 07/17/1999 22:30:23
I have the same problem on 4 of 5 kernels ...

I get

  BFD: st17191a: warning: allocated section `.bss' not in segment

I traced it down to strip. Objdump on netbsd.gdb gives:

Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         0017d690  f0004000  f0004000  00000074  2**2
		  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .rodata       00029124  f0181690  f0181690  0017d704  2**3
		  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         0001a75c  f01ba7b8  f01ba7b8  001a6828  2**3
	          CONTENTS, ALLOC, LOAD, DATA
  3 .bss          0002edc0  f01d5000  f01d5000  001c1000  2**8
		  ALLOC
  4 .stab         0032d384  00000000  00000000  001c1000  2**2
	          CONTENTS, READONLY, DEBUGGING
  5 .stabstr      005d1d02  00000000  00000000  004ee384  2**0
		  CONTENTS, READONLY, DEBUGGING
  6 .comment      0000690f  00000000  00000000  00ac0086  2**0
	          CONTENTS, READONLY
  7 .ident        00000145  0000690f  0000690f  00ac6995  2**0
		  CONTENTS, READONLY

Is it ok for VMA(.rodata) + size(.rodata) < VMA(.data) etc.
-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)