Assign correct reloc value to size 1 constant valued fixes.
This commit is contained in:
parent
946efd95b8
commit
9bab93495a
|
@ -1,3 +1,8 @@
|
||||||
|
2000-06-08 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
|
||||||
|
for size 1 fixes.
|
||||||
|
|
||||||
2000-06-08 David O'Brien <obrien@FreeBSD.org>
|
2000-06-08 David O'Brien <obrien@FreeBSD.org>
|
||||||
|
|
||||||
* configure.in (VERSION): Update to show this is the CVS mainline.
|
* configure.in (VERSION): Update to show this is the CVS mainline.
|
||||||
|
|
|
@ -6897,13 +6897,14 @@ cons_fix_new_arm (frag, where, size, exp)
|
||||||
{
|
{
|
||||||
bfd_reloc_code_real_type type;
|
bfd_reloc_code_real_type type;
|
||||||
int pcrel = 0;
|
int pcrel = 0;
|
||||||
|
|
||||||
/* Pick a reloc ...
|
/* Pick a reloc.
|
||||||
*
|
FIXME: @@ Should look at CPU word size. */
|
||||||
* @@ Should look at CPU word size.
|
|
||||||
*/
|
|
||||||
switch (size)
|
switch (size)
|
||||||
{
|
{
|
||||||
|
case 1:
|
||||||
|
type = BFD_RELOC_8;
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
type = BFD_RELOC_16;
|
type = BFD_RELOC_16;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue