aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-08-15 12:08:52 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-08-15 12:08:52 +0000
commit76af94b9a49ec1f8723c97abd3f52c6662d90bba (patch)
tree5d3ae200258089fa669d6533c7f893cffb7286f3 /bfd/elf.c
parent76fc9bac4b166cbffb66f0348372b531f8e6db21 (diff)
downloadgdb-76af94b9a49ec1f8723c97abd3f52c6662d90bba.zip
gdb-76af94b9a49ec1f8723c97abd3f52c6662d90bba.tar.gz
gdb-76af94b9a49ec1f8723c97abd3f52c6662d90bba.tar.bz2
Remove ARC sanitization.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 6c29ca7..48ab443 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2118,7 +2118,7 @@ map_sections_to_segments (abfd)
new_segment = true;
}
else if (BFD_ALIGN (last_hdr->lma + last_hdr->_raw_size, maxpagesize)
- < hdr->lma)
+ < BFD_ALIGN (hdr->lma, maxpagesize))
{
/* If putting this section in this segment would force us to
skip a page in the segment, then we need a new segment. */
@@ -2875,11 +2875,9 @@ prep_headers (abfd)
i_ehdrp->e_machine = EM_CYGNUS_V850;
break;
/* end-sanitize-v850 */
-/* start-sanitize-arc */
case bfd_arch_arc:
i_ehdrp->e_machine = EM_CYGNUS_ARC;
break;
-/* end-sanitize-arc */
case bfd_arch_m32r:
i_ehdrp->e_machine = EM_CYGNUS_M32R;
break;