diff options
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/aix.em | 1 | ||||
-rw-r--r-- | ld/emultempl/pe.em | 5 | ||||
-rw-r--r-- | ld/emultempl/pep.em | 5 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 1 |
4 files changed, 2 insertions, 10 deletions
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em index d4147f3..3975e2f 100644 --- a/ld/emultempl/aix.em +++ b/ld/emultempl/aix.em @@ -533,7 +533,6 @@ gld${EMULATION_NAME}_handle_option (int optc) if (*optarg == 'S') { link_info.type = type_dll; - link_info.pic = TRUE; ++optarg; } if (*optarg == '\0' || optarg[1] == '\0') diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index e817b47..72e2f11 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -1956,10 +1956,7 @@ gld_${EMULATION_NAME}_unrecognized_file (lang_input_statement_type *entry ATTRIB /* def_file_print (stdout, pe_def_file); */ if (pe_def_file->is_dll == 1) - { - link_info.type = type_dll; - link_info.pic = 1; - } + link_info.type = type_dll; if (pe_def_file->base_address != (bfd_vma)(-1)) { diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index 8b30b1c..c82e496 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -1789,10 +1789,7 @@ gld_${EMULATION_NAME}_unrecognized_file (lang_input_statement_type *entry ATTRIB /* def_file_print (stdout, pep_def_file); */ if (pep_def_file->is_dll == 1) - { - link_info.type = type_dll; - link_info.pic = 1; - } + link_info.type = type_dll; if (pep_def_file->base_address != (bfd_vma)(-1)) { diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index c026e35..4422f19 100644 --- a/ld/emultempl/sunos.em +++ b/ld/emultempl/sunos.em @@ -689,7 +689,6 @@ gld${EMULATION_NAME}_before_allocation (void) if (! found_assign) { link_info.type = type_dll; - link_info.pic = TRUE; break; } } |