OSDN Git Service

Support dynamic assignment of DSBT_INDEX
authorBernd Schmidt <bernds@codesourcery.com>
Mon, 11 Apr 2011 11:21:23 +0000 (13:21 +0200)
committerBernd Schmidt <bernds@codesourcery.com>
Mon, 11 Apr 2011 11:27:03 +0000 (13:27 +0200)
commitfeb7ce46ef24f74ebf0235f10127bd49f0c7e675
tree3369d611fd697300b39b9f9b6f0cea4f06bd8ae7
parenteff2d0ba5890b517ef5bc9d0269d6149556c12c8
Support dynamic assignment of DSBT_INDEX

For DSBT targets (C6X only at this point), we'd like to support the case
where the user did not specify --dsbt-index at link time when building a
shared library. The dynamic linker can still assign an index at runtime
and fix up the DSBT_INDEX relocs, at the cost of startup time and memory
space.

Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
ldso/ldso/c6x/elfinterp.c
ldso/ldso/dl-elf.c