Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 6th, 2008, 06:20 AM
Cary Coutant
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Design/implementation alternatives for the driver and WPA

* "End of first pass" may be a little gold specific. Perhaps it
should be called something like "after all input files have been
seen."

Sure. It seems to me that the pass 1, middle, pass 2 breakdown is
pretty common for linkers, though perhaps not universal. I'll find a
better name (I wasn't really happy with this name anyway.)

* The linker does normally copy unrecognized sections with the
SHF_ALLC bit clear to the output file. It doesn't allocate address
space for them, but it does copy them. I think this follows the ELF
ABI. I don't know of any generic way to direct the linker to not
copy sections to the output file.

K, as Daniel suggested, we could have the compiler set the
SHF_EXCLUDE bit as well for those sections, and add support for that
in gold (if it's not already there).

* Do we need to worry about the type of the symbol in the "add
symbols" interface? For example, what about a TLS symbol? Also,
when the GNU linker sees a common symbol in a regular object and a
symbol with the same name in a shared library, the action depends on
the type of the symbol in the shared library. For STTBJECT, the
common symbol becomes an undefined reference to the shared library.
For STT_FUNCTIN, it does not. Gold does not currently behave this
way common symbol always overrides. But in any case, there is
some precedent for worrying about symbol type.

I don't think so, but I'll take a closer look. I think we don't really
need to worry about the type of the symbol until we get the real .o
file.

* The command line arguments should explicitly be placed in the
transfer vector in the order in which they appear on the command
line.

K.

* Type names ending in "_t" are reserved by PSIX. We shouldn't use
them (I'm looking at ld_plugin_status_t).

, forgot about that.

* GLD_VERSIN should perhaps say something about the format of the
string.

K. What would be reasonable to say here? Just a string of the form
"n.m"? Is it reasonable to require that later versions are lexically
greater than earlier versions (e.g., can't have "1.9" then "1.10"), or
is it K to require parsing the string to do comparisons?

* I guess that having the message hook take a va_list is most
flexible, but it is inconvenient for typical uses. Taking a
variable number of arguments would be more convenient. it might
be reasonable to just take a string, and push formatting to the
plugin.

Yeah, I almost put "" there instead. Probably better than va_list.

-cary

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Development > Design/implementation alternatives for the driver and WPA


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway