2010-05-15 Kai Tietz <kai.tietz@onevision.com>
authorKai Tietz <kai.tietz@onevision.com>
Sat, 15 May 2010 19:50:44 +0000 (19:50 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Sat, 15 May 2010 19:50:44 +0000 (19:50 +0000)
commitd74720d2cbaa9dc68b1a30acc8cccbf6f3b3b758
tree5113c1911ee533e1293f41fd7b524aeb8fa174b0
parent1b610c931bd8653ab92ef9902b02adc58f001d77
2010-05-15  Kai Tietz  <kai.tietz@onevision.com>

* emultempl/pe.em (is_underscoring): New helper function.
(gld_${EMULATION_NAME}_before_parse): Replace code
for pe(p)_leading_underscore detection by is_underscoring.
(U): Likewise.
(GET_INIT_SYMBOL_NAME): Likewise.
(U_SIZE): Likewise.
(set_pe_name):
(set_entry_point):
(gld_${EMULATION_NAME}_set_symbols):
* emultempl/pep.em: Likewise.
* pe-dll.c (pe_detail_list): Set default
underscoring for x64 target.
(pe_dll_id_target): Add initialization of
pe(p)_leading_underscore.
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/pe-dll.c