This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New linker option --dsbt_index for C6x; c6x-uclinux fixes


This adds a new linker option --dsbt_index, which is required when
generating DSBT binaries (similar to flat binaries with ID shared
libraries) for c6x-uclinux.  It also changes the linker to handle the
corresponding relocation.  The code to add a new option is adapted from
elf32mcore.sh.

There are some other changes here which are necessary for c6x-uclinux
support.  TEXT_START_ADDR has to be defined to 0, otherwise the kernel
can't load the generated binaries.  The __c6xabi_DSBT_BASE symbol is
moved before the GOT rather than after it.  GENERATE_SHLIB_SCRIPT is
set.  Finally, the stack and heap sections, which are required for
simulator testing, are removed for c6x-uclinux.

Ok?


Bernd

Attachment: dsbtindex-mainline.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]