This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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] |
I think I could insert my data into the .s file into a particular section. I am not sure if I should create my own named section
If I place it into the .data section then would it then be possible to have conflicts with code symbols?
I am also not yet sure how I would extract this data from the objects (Using libbfd somehow I will have to look further into it).
What would be the best directive to use to insert binary data into the section?
Also does using ar/ld on resulting .o files filter out any sections they don't know about?
Or do they always just include sections into the resulting archive/ executable even if the sections are non-standard containing meta- data that they don't understand?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |