aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-07-12 20:45:57 +0000
committerKen Raeburn <raeburn@cygnus>1995-07-12 20:45:57 +0000
commitf7da4a99d4105687052257a9e752a278a97c1964 (patch)
tree82185d1722d23aba9bbc73c308f3c54b87072534 /gas/write.c
parentb49f423b73d0ff19bb47dfde2acb15dc878d8cc5 (diff)
downloadfsf-binutils-gdb-f7da4a99d4105687052257a9e752a278a97c1964.zip
fsf-binutils-gdb-f7da4a99d4105687052257a9e752a278a97c1964.tar.gz
fsf-binutils-gdb-f7da4a99d4105687052257a9e752a278a97c1964.tar.bz2
fix more compilation bugs
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c
index 702aaa2..8e5015b 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -196,7 +196,7 @@ fixS *
fix_new (frag, where, size, add_symbol, offset, pcrel, r_type)
fragS *frag; /* Which frag? */
int where; /* Where in that frag? */
- short int size; /* 1, 2, or 4 usually. */
+ int size; /* 1, 2, or 4 usually. */
symbolS *add_symbol; /* X_add_symbol. */
offsetT offset; /* X_add_number. */
int pcrel; /* TRUE if PC-relative relocation. */
@@ -218,7 +218,7 @@ fixS *
fix_new_exp (frag, where, size, exp, pcrel, r_type)
fragS *frag; /* Which frag? */
int where; /* Where in that frag? */
- short int size; /* 1, 2, or 4 usually. */
+ int size; /* 1, 2, or 4 usually. */
expressionS *exp; /* Expression. */
int pcrel; /* TRUE if PC-relative relocation. */
#ifdef BFD_ASSEMBLER
@@ -2149,6 +2149,7 @@ fixup_segment (fixP, this_segment_type)
if (sub_symbolP)
{
+ resolve_symbol_value (sub_symbolP);
if (!add_symbolP)
{
/* Its just -sym */