Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] TLS support

Hi Benoit,

The function is ELF-specific - it takes ELF_File as argument. ELF-specific declarations don't belong to the context interface - it is supposed to be generic.

You still can overwrite easily the routine by substituting elf-loader.c with something else in your Makefile.

If you want to use both open source and custom versions at same time, you will need a multiplexer for elf-loader.h.

Regards,
Eugene


-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Benoit Perrin
Sent: Thursday, January 15, 2015 6:29 AM
To: tcf-dev@xxxxxxxxxxx
Subject: [tcf-dev] TLS support

Hi tcf-dev,

I have to implement the support of the Thread Local Storage for our OS. The way
the TLS is implemented for our OS is different from the way that is implemented
currently in TCF the agent (for linux OS), i.e. I have to implement my own
get_tls_address() function.

Can the current implementation be moved to the context interface, as a
context_get_tls_address() routine? Such that I can overwrite easily the routine
for my contexts. Or is there a better way?

Regards,

Benoit Perrin

--
Benoit Perrin, Senior Member of Technical Staff, Wind River
direct +33 297.427.375
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tcf-dev


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



Back to the top