mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
Patch by Oliver to allow allow building with gcc 4.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -605,6 +605,26 @@ void print_dependencies (void);
|
||||
struct expressionS;
|
||||
struct fix;
|
||||
typedef struct symbol symbolS;
|
||||
|
||||
/* JF moved this here [tc.h] from as.h under the theory that nobody except
|
||||
MACHINE.c and write.c care about it anyway. */
|
||||
/* [zooey]: the above no longer holds with gcc4, as it keeps bugging about
|
||||
incomplete element types in arrays, if relax_type isn't defined
|
||||
here. So I moved the definition back from tc.h to here. */
|
||||
struct relax_type
|
||||
{
|
||||
/* Forward reach. Signed number. > 0. */
|
||||
long rlx_forward;
|
||||
/* Backward reach. Signed number. < 0. */
|
||||
long rlx_backward;
|
||||
|
||||
/* Bytes length of this address. */
|
||||
unsigned char rlx_length;
|
||||
|
||||
/* Next longer relax-state. 0 means there is no 'next' relax-state. */
|
||||
relax_substateT rlx_more;
|
||||
};
|
||||
|
||||
struct relax_type;
|
||||
typedef struct frag fragS;
|
||||
|
||||
|
||||
@@ -24,23 +24,6 @@
|
||||
|
||||
extern const pseudo_typeS md_pseudo_table[];
|
||||
|
||||
/* JF moved this here from as.h under the theory that nobody except MACHINE.c
|
||||
and write.c care about it anyway. */
|
||||
|
||||
struct relax_type
|
||||
{
|
||||
/* Forward reach. Signed number. > 0. */
|
||||
long rlx_forward;
|
||||
/* Backward reach. Signed number. < 0. */
|
||||
long rlx_backward;
|
||||
|
||||
/* Bytes length of this address. */
|
||||
unsigned char rlx_length;
|
||||
|
||||
/* Next longer relax-state. 0 means there is no 'next' relax-state. */
|
||||
relax_substateT rlx_more;
|
||||
};
|
||||
|
||||
typedef struct relax_type relax_typeS;
|
||||
|
||||
extern const int md_reloc_size; /* Size of a relocation record */
|
||||
|
||||
Reference in New Issue
Block a user