pdp11 gas/testsuite FAILs: *ABS* vs. .text

Stephen Casner casner@acm.org
Thu Sep 3 20:44:15 GMT 2020
On Thu, 3 Sep 2020, Paul Koning wrote:
> > On Sep 3, 2020, at 3:05 AM, Stephen Casner <casner@acm.org> wrote:
> >
> > There are two new FAILs for pdp11 gas testsuite since I last ran it
> > before the 2.35 release.  In both tests, objdump is showing the
> > section for a reference to location 00000000 of the .text section as
> > .text whereas the test script is expecting *ABS*.  However, .text
> > seems reasonable to me, so the scripts may just be wrong.  These are:
> >
> > gas/testsuite/gas/pdp11/opcode.[sd]
> > gas/testsuite/gas/pdp11/absreloc.[sd]
> >
> > The lines in question are unchanged since they were originally
> > committed by Alan Modra and Paul Koning, respectively, so I defer to
> > you guys.
>
> That seems reasonable.  Neither file has a section declaration in
> it.  Did the default section change from abs to text?

If there was a default section change, it didn't make NEWS, nor could
I find anything in ChangeLog.  I did not find a specification of a
default section in the doc, either; the closest hint was in the
description of .ltorg:  "This directive causes the current contents of
the literal pool to be dumped into the current section (which is
assumed to be the .text section)".  The notion of a default section
may depend upon the object format.

Is there a directive to set the current section to *ABS*?

                                                        -- Steve


More information about the Binutils mailing list