Define ATTRIBUTE_PACKED and use as necessary.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2006-12-05  Michael Tautschnig  <tautschn@model.in.tum.de> | ||||
| 	    Nick Clifton  <nickc@redhat.com> | ||||
|  | ||||
| 	* external.h (struct Elf_External_Versym): Use ATTRIBUTE_PACKED. | ||||
|  | ||||
| 2006-10-28  Richard Sandiford  <richard@codesourcery.com> | ||||
|  | ||||
| 	* mips.h (R_MIPS_GLOB_DAT): Define | ||||
|   | ||||
| @@ -245,11 +245,7 @@ typedef struct { | ||||
|  | ||||
| typedef struct { | ||||
|   unsigned char		vs_vers[2]; | ||||
| } | ||||
| #ifdef __GNUC__ | ||||
|   __attribute__ ((packed)) | ||||
| #endif | ||||
|   Elf_External_Versym; | ||||
| } ATTRIBUTE_PACKED  Elf_External_Versym; | ||||
|  | ||||
| /* Structure for syminfo section.  */ | ||||
| typedef struct | ||||
|   | ||||
		Reference in New Issue
	
	Block a user