From 23adc11718bd279f38b0a7e773e94757ba4ebb7a Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 11 Oct 1991 18:01:05 +0000 Subject: [PATCH] * a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony. * bfd.h (align_power): Add (actually move) comment. --- include/ChangeLog | 21 +++++++++++++++++++++ include/a.out.host.h | 2 +- include/bfd.h | 2 ++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 5036a52dd9c..ea388ab3f7a 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,24 @@ +Fri Oct 11 10:58:06 1991 Per Bothner (bothner at cygnus.com) + + * a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony. + * bfd.h (align_power): Add (actually move) comment. + +Tue Oct 8 15:29:32 1991 Per Bothner (bothner at cygnus.com) + + * sys/h-rtbsd.h: Define MISSING_VFPRINT (for binutils/bucomm.c). + +Sun Oct 6 19:24:39 1991 John Gilmore (gnu at cygnus.com) + + * aout64.h: Move struct internal_exec to ../bfd/libaout.h so + it can be shared by all `a.out-family' code. Rename + EXTERNAL_LIST_SIZE to EXTERNAL_NLIST_SIZE. Use basic types + for nlist members, and make strx integral rather than pointer. + More commentary on n_type values. + * bout.h: Provide a struct external_exec rather than an + internal_exec. + * m68kcoff.h: Remove `tagentries' which snuck in from the i960 + COFF port. + Fri Oct 4 01:25:59 1991 John Gilmore (gnu at cygnus.com) * h8300-opcode.h: Remove `_enum' from the typedef for an enum. diff --git a/include/a.out.host.h b/include/a.out.host.h index a7829adcbcb..5d3488a62ec 100755 --- a/include/a.out.host.h +++ b/include/a.out.host.h @@ -9,7 +9,7 @@ #define SEGMENT_SIZE page_size #endif #ifdef sony -#define SEGMENT_SIZE 0x2000 +#define SEGMENT_SIZE 0x1000 #endif /* Sony. */ #ifdef is68k #define SEGMENT_SIZE 0x20000 diff --git a/include/bfd.h b/include/bfd.h index 91dbab60995..1b93389b64e 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -177,6 +177,8 @@ typedef struct lineno_cache_entry { /* object and core file sections */ +/* Align an address upward to a power of two. Argument is the power + of two, e.g. 8-byte alignment uses argument of 3 (8 == 2^3). */ #define align_power(addr, align) \ ( ((addr) + ((1<<(align))-1)) & (-1 << (align))) -- 2.30.2