From 34e9ffbccc6dc8647f40b1f5468319b358337e48 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sat, 28 Oct 1995 00:26:12 +0000 Subject: Change PAGE_SIZE to TARGET_PAGE_SIZE --- bfd/aout-target.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'bfd/aout-target.h') diff --git a/bfd/aout-target.h b/bfd/aout-target.h index 6e0fccc..3813826 100644 --- a/bfd/aout-target.h +++ b/bfd/aout-target.h @@ -85,11 +85,11 @@ MY(callback) (abfd) /* Don't set sizes now -- can't be sure until we know arch & mach. Sizes get set in set_sizes callback, later. */ #if 0 - adata(abfd).page_size = PAGE_SIZE; + adata(abfd).page_size = TARGET_PAGE_SIZE; #ifdef SEGMENT_SIZE adata(abfd).segment_size = SEGMENT_SIZE; #else - adata(abfd).segment_size = PAGE_SIZE; + adata(abfd).segment_size = TARGET_PAGE_SIZE; #endif adata(abfd).exec_bytes_size = EXEC_BYTES_SIZE; #endif @@ -170,11 +170,11 @@ MY(mkobject) (abfd) return false; #if 0 /* Sizes get set in set_sizes callback, later, after we know the architecture and machine. */ - adata(abfd).page_size = PAGE_SIZE; + adata(abfd).page_size = TARGET_PAGE_SIZE; #ifdef SEGMENT_SIZE adata(abfd).segment_size = SEGMENT_SIZE; #else - adata(abfd).segment_size = PAGE_SIZE; + adata(abfd).segment_size = TARGET_PAGE_SIZE; #endif adata(abfd).exec_bytes_size = EXEC_BYTES_SIZE; #endif @@ -236,18 +236,18 @@ static boolean MY(set_sizes) (abfd) bfd *abfd; { - adata(abfd).page_size = PAGE_SIZE; + adata(abfd).page_size = TARGET_PAGE_SIZE; #ifdef SEGMENT_SIZE adata(abfd).segment_size = SEGMENT_SIZE; #else - adata(abfd).segment_size = PAGE_SIZE; + adata(abfd).segment_size = TARGET_PAGE_SIZE; #endif #ifdef ZMAGIC_DISK_BLOCK_SIZE adata(abfd).zmagic_disk_block_size = ZMAGIC_DISK_BLOCK_SIZE; #else - adata(abfd).zmagic_disk_block_size = PAGE_SIZE; + adata(abfd).zmagic_disk_block_size = TARGET_PAGE_SIZE; #endif adata(abfd).exec_bytes_size = EXEC_BYTES_SIZE; @@ -365,6 +365,9 @@ MY_bfd_final_link (abfd, info) #ifndef MY_write_armap #define MY_write_armap bsd_write_armap #endif +#ifndef MY_read_ar_hdr +#define MY_read_ar_hdr _bfd_generic_read_ar_hdr +#endif #ifndef MY_truncate_arname #define MY_truncate_arname bfd_bsd_truncate_arname #endif -- cgit v1.1