DragonFly-2.1.1.328.gd9f47 master contrib/binutils-2.17/ld/emulparams so rt-sections.sh gnu/usr.bin/binutils217/ld Makefile.amd64 Makefile.i386

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Feb 10 02:08:17 PST 2009


Thomas Nikolajsen wrote:
There are two possible fixes:
For one, the kernel could be changed to accept note sections located
anywhere in the binary.  This however does not apply to already deployed
systems, which could face problems when upgrading.
Second, we could ensure that the note tag always winds up in the first
page of a binary.  We take this approach by changing our linker scripts
to sort the .note.ABI-tag section to the front.
I was bitten by this (ELF binary type "0" not known) (two weeks ago),
running quickworld on world build after problem uncovered.
I don't understand.  All new binaries should have a correct section 
ordering.  Could you give me a bit more details on the failure scenario?

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Commits mailing list