diff options
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r-- | ld/emultempl/beos.em | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 52e615b..4082449 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -210,7 +210,7 @@ set_pe_subsystem (void) return; } } - einfo (_("%F%P: invalid subsystem type %s\n"), optarg); + fatal (_("%P: invalid subsystem type %s\n"), optarg); } @@ -220,9 +220,7 @@ set_pe_value (char *name) char *end; set_pe_name (name, strtoul (optarg, &end, 0)); if (end == optarg) - { - einfo (_("%F%P: invalid hex number for PE parameter '%s'\n"), optarg); - } + fatal (_("%P: invalid hex number for PE parameter '%s'\n"), optarg); optarg = end; } @@ -237,9 +235,7 @@ set_pe_stack_heap (char *resname, char *comname) set_pe_value (comname); } else if (*optarg) - { - einfo (_("%F%P: strange hex info for PE parameter '%s'\n"), optarg); - } + fatal (_("%P: strange hex info for PE parameter '%s'\n"), optarg); } @@ -254,7 +250,7 @@ gld${EMULATION_NAME}_handle_option (int optc) case OPTION_BASE_FILE: link_info.base_file = fopen (optarg, FOPEN_WB); if (link_info.base_file == NULL) - einfo (_("%F%P: cannot open base file %s\n"), optarg); + fatal (_("%P: cannot open base file %s\n"), optarg); break; /* PE options */ @@ -363,9 +359,7 @@ gld${EMULATION_NAME}_after_open (void) FIXME: This should be done via a function, rather than by including an internal BFD header. */ if (!obj_pe (link_info.output_bfd)) - { - einfo (_("%F%P: PE operations on non PE file\n")); - } + fatal (_("%P: PE operations on non PE file\n")); pe_data(link_info.output_bfd)->pe_opthdr = pe; pe_data(link_info.output_bfd)->dll = init[DLLOFF].value; @@ -414,12 +408,12 @@ sort_by_file_name (const void *a, const void *b) if (!bfd_get_section_contents (sa->owner, sa, &a_sec, (file_ptr) 0, (bfd_size_type) sizeof (a_sec))) - einfo (_("%F%P: %pB: can't read contents of section .idata: %E\n"), + fatal (_("%P: %pB: can't read contents of section .idata: %E\n"), sa->owner); if (!bfd_get_section_contents (sb->owner, sb, &b_sec, (file_ptr) 0, (bfd_size_type) sizeof (b_sec))) - einfo (_("%F%P: %pB: can't read contents of section .idata: %E\n"), + fatal (_("%P: %pB: can't read contents of section .idata: %E\n"), sb->owner); i = a_sec < b_sec ? -1 : 0; @@ -651,7 +645,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s, /* Everything from the '\$' on gets deleted so don't allow '\$' as the first character. */ if (*secname == '\$') - einfo (_("%F%P: section %s has '\$' as first character\n"), secname); + fatal (_("%P: section %s has '\$' as first character\n"), secname); if (strchr (secname + 1, '\$') == NULL) return NULL; @@ -681,7 +675,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s, } ps[0] = 0; if (l == NULL) - einfo (_("%F%P: *(%s\$) missing from linker script\n"), output_secname); + fatal (_("%P: *(%s\$) missing from linker script\n"), output_secname); /* Link the input section in and we're done for now. The sections still have to be sorted, but that has to wait until |