Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/bfd make this build again.



details:   https://anonhg.NetBSD.org/src/rev/17b0d08347dd
branches:  trunk
changeset: 769872:17b0d08347dd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 25 11:07:32 2011 +0000

description:
make this build again.

gimpy, please check the #if 0'd code that may or may not be useful? :)

diffstat:

 external/gpl3/binutils/dist/bfd/elf32-vax.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r aeb4790d2e3e -r 17b0d08347dd external/gpl3/binutils/dist/bfd/elf32-vax.c
--- a/external/gpl3/binutils/dist/bfd/elf32-vax.c       Sun Sep 25 10:55:04 2011 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-vax.c       Sun Sep 25 11:07:32 2011 +0000
@@ -769,6 +769,7 @@
                  if (sreloc == NULL)
                    return FALSE;
 
+#if 0
                  BFD_ASSERT (CONST_STRNEQ (name, ".rela")
                              && strcmp (bfd_get_section_name (abfd, sec),
                                         name + 5) == 0);
@@ -788,6 +789,7 @@
                          || !bfd_set_section_alignment (dynobj, sreloc, 2))
                        return FALSE;
                    }
+#endif
 
                  if (sec->flags & SEC_READONLY)
                    info->flags |= DF_TEXTREL;
@@ -1644,7 +1646,6 @@
 
        case R_VAX_PC8:
        case R_VAX_PC16:
-       case R_VAX_PC32:
        r_vax_pc32_shared:
          if (h == NULL
              || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT



Home | Main Index | Thread Index | Old Index