mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* aout-cris.c (N_TXTADDR): Define.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-09-28 <20>rjan Friberg <orjanf@axis.com>
|
||||||
|
Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
* aout-cris.c (N_TXTADDR): Define.
|
||||||
|
|
||||||
2000-09-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
2000-09-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||||
|
|
||||||
* som.c: Include alloca-conf.h.
|
* som.c: Include alloca-conf.h.
|
||||||
|
@ -28,6 +28,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
#define ENTRY_CAN_BE_ZERO
|
#define ENTRY_CAN_BE_ZERO
|
||||||
#define TEXT_START_ADDR 0
|
#define TEXT_START_ADDR 0
|
||||||
|
|
||||||
|
/* Without reading symbols to get the text start symbol, there is no way
|
||||||
|
to know where the text segment starts in an a.out file. Defaulting to
|
||||||
|
anything as constant as TEXT_START_ADDR is bad. But we can guess from
|
||||||
|
the entry point, which is usually within the first 64k of the text
|
||||||
|
segment. We also assume here that the text segment is 64k-aligned.
|
||||||
|
FIXME: It is also wrong to assume that data and bss follow immediately
|
||||||
|
after text, but with those, we don't have any choice besides reading
|
||||||
|
symbol info, and luckily there's no pressing need for correctness for
|
||||||
|
those vma:s at this time. */
|
||||||
|
#define N_TXTADDR(x) ((x).a_entry & ~0xffff)
|
||||||
|
|
||||||
/* If you change this to 4, you can not link to an address N*4+2. */
|
/* If you change this to 4, you can not link to an address N*4+2. */
|
||||||
#define SEGMENT_SIZE 2
|
#define SEGMENT_SIZE 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user