This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

m68k-a.out is broken.


This patch

2000-09-22  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

        * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
        md_estimate_size_before_relax): Redesign and clean up the
        relaxation mechanism.

breaks m68k-a.out. I got

/work/gnu/src/binutils/gas/config/tc-m68k.c: In function `md_convert_frag_1':
/work/gnu/src/binutils/gas/config/tc-m68k.c:4362: `BFD_RELOC_8_PCREL'
undeclared (first use in this function)
/work/gnu/src/binutils/gas/config/tc-m68k.c:4362: (Each undeclared identifier
is reported only once
/work/gnu/src/binutils/gas/config/tc-m68k.c:4362: for each function it appears
in.)
/work/gnu/src/binutils/gas/config/tc-m68k.c:4371: `BFD_RELOC_16_PCREL'
undeclared (first use in this function)
/work/gnu/src/binutils/gas/config/tc-m68k.c:4377: `BFD_RELOC_32_PCREL'
undeclared (first use in this function)
/work/gnu/src/binutils/gas/config/tc-m68k.c:4386: `BFD_RELOC_32' undeclared
(first use in this function)
/work/gnu/src/binutils/gas/config/tc-m68k.c: In function
`md_estimate_size_before_relax':
/work/gnu/src/binutils/gas/config/tc-m68k.c:4567: warning: unused variable
`buffer_address'

Those BFD_RELOC_XXX are only available when BFD_ASSEMBLER is defined.
You can test it by building a cross assembler.

H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]