Support arbitrary length fill patterns.
* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. (struct bfd_link_order): Remove fill. Add data.size.
This commit is contained in:
		| @@ -1,3 +1,9 @@ | |||||||
|  | 2002-02-15  Alan Modra  <amodra@bigpond.net.au> | ||||||
|  |  | ||||||
|  | 	Support arbitrary length fill patterns. | ||||||
|  | 	* bfdlink.h (enum bfd_link_order_type): Remove bfd_fill_link_order. | ||||||
|  | 	(struct bfd_link_order): Remove fill.  Add data.size. | ||||||
|  |  | ||||||
| 2002-02-08  Alexandre Oliva  <aoliva@redhat.com> | 2002-02-08  Alexandre Oliva  <aoliva@redhat.com> | ||||||
|  |  | ||||||
| 	Contribute sh64-elf. | 	Contribute sh64-elf. | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| /* bfdlink.h -- header file for BFD link routines | /* bfdlink.h -- header file for BFD link routines | ||||||
|    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 |    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002 | ||||||
|    Free Software Foundation, Inc. |    Free Software Foundation, Inc. | ||||||
|    Written by Steve Chamberlain and Ian Lance Taylor, Cygnus Support. |    Written by Steve Chamberlain and Ian Lance Taylor, Cygnus Support. | ||||||
|  |  | ||||||
| @@ -446,7 +446,6 @@ enum bfd_link_order_type | |||||||
| { | { | ||||||
|   bfd_undefined_link_order,	/* Undefined.  */ |   bfd_undefined_link_order,	/* Undefined.  */ | ||||||
|   bfd_indirect_link_order,	/* Built from a section.  */ |   bfd_indirect_link_order,	/* Built from a section.  */ | ||||||
|   bfd_fill_link_order,		/* Fill with a 16 bit constant.  */ |  | ||||||
|   bfd_data_link_order,		/* Set to explicit data.  */ |   bfd_data_link_order,		/* Set to explicit data.  */ | ||||||
|   bfd_section_reloc_link_order,	/* Relocate against a section.  */ |   bfd_section_reloc_link_order,	/* Relocate against a section.  */ | ||||||
|   bfd_symbol_reloc_link_order	/* Relocate against a symbol.  */ |   bfd_symbol_reloc_link_order	/* Relocate against a symbol.  */ | ||||||
| @@ -480,13 +479,12 @@ struct bfd_link_order | |||||||
| 	} indirect; | 	} indirect; | ||||||
|       struct |       struct | ||||||
| 	{ | 	{ | ||||||
| 	  /* Value to fill with.  */ | 	  /* Size of contents, or zero when contents size == size | ||||||
| 	  unsigned int value; | 	     within output section. | ||||||
| 	} fill; | 	     A non-zero value allows filling of the output section | ||||||
|       struct | 	     with an arbitrary repeated pattern.  */ | ||||||
| 	{ | 	  unsigned int size; | ||||||
| 	  /* Data to put into file.  The size field gives the number | 	  /* Data to put into file.  */ | ||||||
| 	     of bytes which this field points to.  */ |  | ||||||
| 	  bfd_byte *contents; | 	  bfd_byte *contents; | ||||||
| 	} data; | 	} data; | ||||||
|       struct |       struct | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user