[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should .a library contains non-reallocatable code?



* Simon Richter <sjr@debian.org> [150222 21:19]:
> Am 22.02.2015 um 20:18 schrieb Bernhard R. Link:
> 
> > echo 'int foo(void) {return 17;}' > foo.c
> 
> This code just happens to not generate any data references, so none of
> the forbidden reloc types are emitted.

You can add references here. As I do not merge it into a dynamic object,
it does not make any difference, though.

(Also "data references" is a bit misleading, as data references and code references
do not really make a difference.

	Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC


Reply to: