1 |
/* Internal format of XCOFF object file data structures for BFD. |
/* Internal format of XCOFF object file data structures for BFD. |
2 |
|
|
3 |
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 |
4 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
5 |
Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. |
Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. |
6 |
|
|
366 |
unsigned long file_align; |
unsigned long file_align; |
367 |
|
|
368 |
/* Whether the .text section must be read-only. */ |
/* Whether the .text section must be read-only. */ |
369 |
boolean textro; |
bfd_boolean textro; |
370 |
|
|
371 |
/* Whether garbage collection was done. */ |
/* Whether garbage collection was done. */ |
372 |
boolean gc; |
bfd_boolean gc; |
373 |
|
|
374 |
/* A linked list of symbols for which we have size information. */ |
/* A linked list of symbols for which we have size information. */ |
375 |
struct xcoff_link_size_list |
struct xcoff_link_size_list |
391 |
struct xcoff_loader_info |
struct xcoff_loader_info |
392 |
{ |
{ |
393 |
/* Set if a problem occurred. */ |
/* Set if a problem occurred. */ |
394 |
boolean failed; |
bfd_boolean failed; |
395 |
|
|
396 |
/* Output BFD. */ |
/* Output BFD. */ |
397 |
bfd *output_bfd; |
bfd *output_bfd; |
400 |
struct bfd_link_info *info; |
struct bfd_link_info *info; |
401 |
|
|
402 |
/* Whether all defined symbols should be exported. */ |
/* Whether all defined symbols should be exported. */ |
403 |
boolean export_defineds; |
bfd_boolean export_defineds; |
404 |
|
|
405 |
/* Number of ldsym structures. */ |
/* Number of ldsym structures. */ |
406 |
size_t ldsym_count; |
size_t ldsym_count; |
409 |
size_t string_size; |
size_t string_size; |
410 |
|
|
411 |
/* String table. */ |
/* String table. */ |
412 |
bfd_byte *strings; |
char *strings; |
413 |
|
|
414 |
/* Allocated size of string table. */ |
/* Allocated size of string table. */ |
415 |
size_t string_alc; |
size_t string_alc; |
424 |
{ |
{ |
425 |
/* Pointer to runtime linker. |
/* Pointer to runtime linker. |
426 |
XXX: Is the parameter really void? */ |
XXX: Is the parameter really void? */ |
427 |
int (*rtl) PARAMS ((void)); |
int (*rtl) (void); |
428 |
|
|
429 |
/* Offset to array of init functions, 0 if none. */ |
/* Offset to array of init functions, 0 if none. */ |
430 |
int init_offset; |
int init_offset; |
604 |
/* We often have to distinguish between the old and big file format. |
/* We often have to distinguish between the old and big file format. |
605 |
Make it a bit cleaner. We can use `xcoff_ardata' here because the |
Make it a bit cleaner. We can use `xcoff_ardata' here because the |
606 |
`hdr' member has the same size and position in both formats. |
`hdr' member has the same size and position in both formats. |
607 |
<bigaf> is the default format, return true even when xcoff_ardata is |
<bigaf> is the default format, return TRUE even when xcoff_ardata is |
608 |
NULL. */ |
NULL. */ |
609 |
#ifndef SMALL_ARCHIVE |
#ifndef SMALL_ARCHIVE |
610 |
/* Creates big archives by default */ |
/* Creates big archives by default */ |