this largish patch introduces a new convention with exported symbols -- you
have to mark their prototypes with the _urj_hidden_proto() helper and then
mark their definitions with the _urj_hidden_def() helper.  this helps cut down
on relocations in the ELF shared library.  the PLT for example goes from ~400
entries down to ~100 (the rest are for externals).

as part of the process, i also introduced a hidden attribute so that internal
functions that need to be shared among multiple files can be kept from export
completely.

the library is now compiled with -D__IN_URJTAG_LIB so we know when to enable
these helpers.  that's really what the new Makefile.* files are for.

any comments/feedback ?
-mike

Attachment: urjtag-library-symbol-cleanup.patch.bz2
Description: application/bzip

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to