This is the mail archive of the binutils@sourceware.cygnus.com 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]

ld, access to symbols


Hi,

my question is this, is it possible form within a link script to access
abd manipulate variables from
an object that is being linked.

i.e.

test.c contains int x.

can I access x in the link script and assign its value to a link script
global variable.

Regards

Dominic



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