IA-64: Fix linker error with --no-keep-memory.
[deliverable/binutils-gdb.git] / bfd / elfnn-ia64.c
index 595316dc115db309fbd91e98afd104d1ae0d5332..84b1af1456edf7cd29bc7a33eddd4efad914358c 100644 (file)
@@ -593,6 +593,9 @@ elfNN_ia64_relax_section (bfd *abfd, asection *sec,
                     1, change it to slot 2.  */
                  if ((irel->r_offset & 3) == 1)
                    irel->r_offset += 1;
+
+                 changed_contents = TRUE;
+                 changed_relocs = TRUE;
                }
 
              continue;
@@ -607,6 +610,9 @@ elfNN_ia64_relax_section (bfd *abfd, asection *sec,
 
              /* Make the relocation offset point to slot 1.  */
              irel->r_offset = (irel->r_offset & ~((bfd_vma) 0x3)) + 1;
+
+             changed_contents = TRUE;
+             changed_relocs = TRUE;
              continue;
            }
 
This page took 0.025339 seconds and 4 git commands to generate.