Module Name: src
Committed By: mrg
Date: Sun Sep 25 11:07:32 UTC 2011
Modified Files:
src/external/gpl3/binutils/dist/bfd: elf32-vax.c
Log Message:
make this build again.
gimpy, please check the #if 0'd code that may or may not be useful? :)
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/binutils/dist/bfd/elf32-vax.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/dist/bfd/elf32-vax.c
diff -u src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.3 src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.4
--- src/external/gpl3/binutils/dist/bfd/elf32-vax.c:1.3 Sun Sep 25 04:32:35 2011
+++ src/external/gpl3/binutils/dist/bfd/elf32-vax.c Sun Sep 25 11:07:32 2011
@@ -769,6 +769,7 @@ elf_vax_check_relocs (bfd *abfd, struct
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 @@ elf_vax_check_relocs (bfd *abfd, struct
|| !bfd_set_section_alignment (dynobj, sreloc, 2))
return FALSE;
}
+#endif
if (sec->flags & SEC_READONLY)
info->flags |= DF_TEXTREL;
@@ -1644,7 +1646,6 @@ elf_vax_relocate_section (bfd *output_bf
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