]> git.pld-linux.org Git - packages/binutils.git/commitdiff
- outdated.
authorkloczek <kloczek@pld-linux.org>
Sat, 12 Apr 2003 08:07:08 +0000 (08:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    binutils-ia64-brl.patch -> 1.2
    binutils-sparc-nonpic.patch -> 1.2

binutils-ia64-brl.patch [deleted file]
binutils-sparc-nonpic.patch [deleted file]

diff --git a/binutils-ia64-brl.patch b/binutils-ia64-brl.patch
deleted file mode 100644 (file)
index f0962a7..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-2002-09-09  Richard Henderson  <rth@redhat.com>
-
-       * elfxx-ia64.c (USE_BRL): Define.
-
---- binutils-2.13.90.0.16/bfd/elfxx-ia64.c     9 Sep 2002 17:34:07 -0000       1.58
-+++ binutils-2.13.90.0.16/bfd/elfxx-ia64.c     9 Sep 2002 17:37:25 -0000
-@@ -645,7 +645,7 @@ static const bfd_byte plt_full_entry[PLT
- /* Select out of range branch fixup type.  Note that Itanium does
-    not support brl, and so it gets emulated by the kernel.  */
--#undef USE_BRL
-+#define USE_BRL
- static const bfd_byte oor_brl[16] =
- {
diff --git a/binutils-sparc-nonpic.patch b/binutils-sparc-nonpic.patch
deleted file mode 100644 (file)
index b596609..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-2002-04-20  Jakub Jelinek  <jakub@redhat.com>
-
-       * elf32-sparc.c (elf32_sparc_relocate_section): Find real output
-       section with SEC_MERGE.
-       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
-
---- binutils-2.13.90.0.16/bfd/elf32-sparc.c.jj Sat Apr 20 22:11:57 2002
-+++ binutils-2.13.90.0.16/bfd/elf32-sparc.c    Sat Apr 20 23:06:33 2002
-@@ -1144,7 +1144,7 @@ elf32_sparc_relocate_section (output_bfd
-       struct elf_link_hash_entry *h;
-       Elf_Internal_Sym *sym;
-       asection *sec;
--      bfd_vma relocation, off;
-+      bfd_vma relocation, off, orig_addend = 0;
-       bfd_reloc_status_type r;
-       boolean is_plt = false;
-       boolean unresolved_reloc;
-@@ -1192,6 +1192,7 @@ elf32_sparc_relocate_section (output_bfd
-       {
-         sym = local_syms + r_symndx;
-         sec = local_sections[r_symndx];
-+        orig_addend = rel->r_addend;
-         relocation = _bfd_elf_rela_local_sym (output_bfd, sym, sec, rel);
-       }
-       else
-@@ -1527,6 +1528,25 @@ elf32_sparc_relocate_section (output_bfd
-                         asection *osec;
-                         osec = sec->output_section;
-+                        /* FIXME: As soon as making sections zero size
-+                           is possible, this if can go away.  */
-+                        if (bfd_is_abs_section (osec)
-+                            && h == NULL
-+                            && (sec->flags & SEC_MERGE)
-+                            && ELF_ST_TYPE (sym->st_info) == STT_SECTION
-+                            && (elf_section_data (sec)->sec_info_type
-+                                == ELF_INFO_TYPE_MERGE))
-+                          {
-+                            asection *msec;
-+
-+                            msec = sec;
-+                            _bfd_merged_section_offset (output_bfd, &msec,
-+                                      elf_section_data (sec)->sec_info,
-+                                      sym->st_value + orig_addend,
-+                                      (bfd_vma) 0);
-+                            osec = msec->output_section;
-+                           }
-+
-                         indx = elf_section_data (osec)->dynindx;
-                         /* FIXME: we really should be able to link non-pic
---- binutils-2.13.90.0.16/bfd/elf64-sparc.c.jj Sat Apr 20 22:11:57 2002
-+++ binutils-2.13.90.0.16/bfd/elf64-sparc.c    Sat Apr 20 23:12:18 2002
-@@ -1939,7 +1939,7 @@ sparc64_elf_relocate_section (output_bfd
-       struct elf_link_hash_entry *h;
-       Elf_Internal_Sym *sym;
-       asection *sec;
--      bfd_vma relocation, off;
-+      bfd_vma relocation, off, orig_addend = 0;
-       bfd_reloc_status_type r;
-       boolean is_plt = false;
-       boolean unresolved_reloc;
-@@ -1982,6 +1982,7 @@ sparc64_elf_relocate_section (output_bfd
-       {
-         sym = local_syms + r_symndx;
-         sec = local_sections[r_symndx];
-+        orig_addend = rel->r_addend;
-         relocation = _bfd_elf_rela_local_sym (output_bfd, sym, sec, rel);
-       }
-       else
-@@ -2211,6 +2212,25 @@ sparc64_elf_relocate_section (output_bfd
-                           asection *osec;
-                           osec = sec->output_section;
-+                          /* FIXME: As soon as making sections zero size
-+                             is possible, this if can go away.  */
-+                          if (bfd_is_abs_section (osec)
-+                              && h == NULL
-+                              && (sec->flags & SEC_MERGE)
-+                              && ELF_ST_TYPE (sym->st_info) == STT_SECTION
-+                              && (elf_section_data (sec)->sec_info_type
-+                                  == ELF_INFO_TYPE_MERGE))
-+                            {
-+                              asection *msec;
-+
-+                              msec = sec;
-+                              _bfd_merged_section_offset (output_bfd, &msec,
-+                                      elf_section_data (sec)->sec_info,
-+                                      sym->st_value + orig_addend,
-+                                      (bfd_vma) 0);
-+                              osec = msec->output_section;
-+                            }
-+
-                           indx = elf_section_data (osec)->dynindx;
-                           /* FIXME: we really should be able to link non-pic
This page took 0.047121 seconds and 4 git commands to generate.