Bug 2958 - FAIL: copy with setting section flags 3
Summary: FAIL: copy with setting section flags 3
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.18
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 21:04 UTC by John David Anglin
Modified: 2024-03-14 19:32 UTC (History)
1 user (show)

See Also:
Host: hppa2.0w-hp-hpux11.00
Target: hppa2.0w-hp-hpux11.00
Build: hppa2.0w-hp-hpux11.00
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2006-07-24 21:04:18 UTC
sed -f /xxx/gnu/binutils-2.17.50/src/binutils/testsuite/config/hppa.sed < /xxx/
gnu/binutils-2.17.50/src/binutils/testsuite/binutils-all/bintest.s > asm.s
Executing on host: /xxx/gnu/binutils-2.17.50/objdir/gas/as-new asm.s  -o tmpdir
/bintest.o    (timeout = 300)
/home/gnu/binutils-2.17.50/objdir/binutils/objcopy  --set-section-flags .text=a
lloc,data tmpdir/bintest.o tmpdir/copy.o
Executing on host: /home/gnu/binutils-2.17.50/objdir/binutils/objcopy  --set-se
ction-flags .text=alloc,data tmpdir/bintest.o tmpdir/copy.o   (timeout = 300)
/home/gnu/binutils-2.17.50/objdir/binutils/objdump  -h tmpdir/copy.o > tmpdir/d
ump.out
extra regexps in /xxx/gnu/binutils-2.17.50/src/binutils/testsuite/binutils-all/
copy-3.d starting with "^  [0-9]* .text.*$"
EOF from tmpdir/dump.out
FAIL: copy with setting section flags 3

#/home/gnu/binutils-2.17.50/objdir/binutils/objdump  -h tmpdir/copy.o

tmpdir/copy.o:     file format som

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 $TEXT$        00000008  00000000  00000000  000001ec  2**3

  1 $CODE$        00000008  00000000  00000000  000001ec  2**3
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  2 $LIT$         00000000  00000000  00000000  000001f4  2**3
                  ALLOC, LOAD, READONLY, CODE
  3 $MILLICODE$   00000000  00000000  00000000  000001f4  2**3
                  ALLOC, LOAD, READONLY, CODE
  4 $PRIVATE$     00000008  00000000  00000000  000001f4  2**3

  5 $DATA$        00000008  00000000  00000000  000001f4  2**3
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  6 $BSS$         00000000  00000000  00000000  00000000  2**3
                  ALLOC
Comment 1 John David Anglin 2024-03-14 19:32:26 UTC
Fixed.