Descriptionllvm: stubbed st_size does matter for copy-relocs/bss
Handle a few more cases that were not handled before and
issue a (DEBUG) warning if there is any unknown case.
This may help fix references to stderr, optarg, etc.,
when we turn off PIC for the dynamic executable and turn on
metadata for the final link. Without the size, gold will
avoid putting things in BSS w/ copy relocs, and attempt
to add a TEXTREL, which I think isn't supported by NaCl.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2370
TEST= run_gettimeofday_test
Patch Set 1 #
Total comments: 5
Patch Set 2 : change to assert #Patch Set 3 : comment #Messages
Total messages: 5 (0 generated)
|