mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-14 14:56:21 -04:00
16 lines
479 B
C
16 lines
479 B
C
$NetBSD$
|
|
|
|
--- bfd/elf64-ppc.c.orig Mon Mar 25 08:06:20 2013
|
|
+++ bfd/elf64-ppc.c
|
|
@@ -9112,6 +9112,10 @@ readonly_dynrelocs (struct elf_link_hash_entry *h, voi
|
|
{
|
|
struct bfd_link_info *info = inf;
|
|
|
|
+ if (info->warn_shared_textrel)
|
|
+ (*_bfd_error_handler)
|
|
+ (_("warning: dynamic relocation in readonly section `%s'"),
|
|
+ h->root.root.string);
|
|
info->flags |= DF_TEXTREL;
|
|
|
|
/* Not an error, just cut short the traversal. */
|