[Bug ld/20694] PDP11 TARGET_PAGE_SIZE is incorrect

2016-10-25 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20694 Stephen Casner changed: What|Removed |Added Version|unspecified |2.27 -- You are receiving this

[Bug ld/20694] New: PDP11 TARGET_PAGE_SIZE is incorrect

2016-10-17 Thread casner at acm dot org
: ld Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- The file ld/emulparams/pdp11.sh includes the line: TARGET_PAGE_SIZE=256 The actual page size of the memory management hardware on the PDP11/45, PDP11/70, etc. is 8192 bytes

[Bug ld/20694] PDP11 TARGET_PAGE_SIZE is incorrect

2018-12-12 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20694 --- Comment #3 from Stephen Casner --- Do you need assistance with bringing up 2.11BSD and UNIX v7 systems on an emulated PDP11? Those systems are included as examples prepared to run on the PiDP11/70 recreated model front panel that Oscar

[Bug ld/20694] PDP11 TARGET_PAGE_SIZE is incorrect

2020-01-31 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20694 --- Comment #7 from Stephen Casner --- I have tested with a build from the git repository and concur that this bug is fixed. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25569] New: PDP11 ld -s clobbers last data byte

2020-02-17 Thread casner at acm dot org
: ld Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Created attachment 12294 --> https://sourceware.org/bugzilla/attachment.cgi?id=12294=edit Proposed patch When the -s option is supplied to ld for pdp11-aout tar

[Bug ld/20694] PDP11 TARGET_PAGE_SIZE is incorrect

2020-01-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20694 --- Comment #6 from Stephen Casner --- Thanks for making this fix. I can’t do any testing immediately but will do so in a couple of weeks. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25677] New: Changes to --*magic options for pdp11-aout target

2020-03-14 Thread casner at acm dot org
Component: ld Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Target: pdp11-aout Created attachment 12378 --> https://sourceware.org/bugzilla/attachment.cgi?id=12378=edit Proposed enhancem

[Bug ld/18963] Addition is not commutative

2020-04-09 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 Stephen Casner changed: What|Removed |Added CC||casner at acm dot org --- Comment

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-04-08 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #11 from Stephen Casner --- Created attachment 12448 --> https://sourceware.org/bugzilla/attachment.cgi?id=12448=edit Completed patch including tests and doc Here is a patch against a current git pull that I believe includes

[Bug ld/18963] Addition is not commutative

2020-04-15 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 --- Comment #8 from Stephen Casner --- Created attachment 12461 --> https://sourceware.org/bugzilla/attachment.cgi?id=12461=edit Patch for test to work with pdp11-aout I found that my proposed pr18963.s got an assembly error with target

[Bug ld/18963] Addition is not commutative

2020-04-15 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 --- Comment #9 from Stephen Casner --- (In reply to Stephen Casner from comment #8) ... > the output is the same as for the old script except for the different value > for E and different section associations for some symbols. To clarify,

[Bug binutils/25830] pdp11-aout target does not support gdb, gdbserver, gprof

2020-04-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25830 --- Comment #1 from Stephen Casner --- Created attachment 12464 --> https://sourceware.org/bugzilla/attachment.cgi?id=12464=edit Patch for configure Add gdb and gprof to noconfigdirs for pdp11-*-*; gdbserver is handled separately by not

[Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout

2020-04-15 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25829 --- Comment #1 from Stephen Casner --- Created attachment 12463 --> https://sourceware.org/bugzilla/attachment.cgi?id=12463=edit Patch to fix tests After the patch for reopened PR 18963 and the patch for PR 25828 and this patch are applied

[Bug binutils/25828] New: nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits

2020-04-15 Thread casner at acm dot org
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Presumably since the creation of the pdp11-aout target 20 years ago, a symbol defined in a linker script

[Bug ld/25829] New: Several ld tests fail for 16-bit targets like pdp11-aout

2020-04-15 Thread casner at acm dot org
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Several tests in ld/testsuite/ld-scripts fail for the pdp11-aout target because address and/or size constants used in the tests

[Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits

2020-04-15 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25828 --- Comment #1 from Stephen Casner --- Created attachment 12462 --> https://sourceware.org/bugzilla/attachment.cgi?id=12462=edit Patch to fix undefined symbols and sign extension When bfd/pdp11.c was copied from bfd/aoutx.h, the #defines

[Bug binutils/25830] New: pdp11-aout target does not support gdb, gdbserver, gprof

2020-04-15 Thread casner at acm dot org
Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Since the pdp11-aout target does not support gdb, gdbserver or gprof these should be excluded in configure. -- You

[Bug binutils/25830] pdp11-aout target does not support gdb, gdbserver, gprof

2020-04-17 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25830 --- Comment #3 from Stephen Casner --- Oops, sorry. I do understand the autotools process, but it has been a few years and I was not paying enough attention so I overlooked it here. I will proceed as you have suggested. -- You are

[Bug ld/18963] Addition is not commutative

2020-04-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 --- Comment #12 from Stephen Casner --- Nick, Had I known that my proposed change that fixes the test to pass for pdp11 would cause the test to fail for several others, I would not have submitted it. A much simpler and perhaps more fair

[Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits

2020-04-17 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25828 --- Comment #3 from Stephen Casner --- (In reply to Nick Clifton from comment #2) > Patch approved - please apply. Was this an instruction to me to apply it myself? I have not established write access, but would be happy to do so if that

[Bug ld/18963] Addition is not commutative

2020-04-17 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 --- Comment #17 from Stephen Casner --- Nick, Thanks. I see that you still needed to bring in some of the changes to the test script that you made in your previous commit. I assumed all the changes you had to make to my first proposed fix

[Bug binutils/25830] pdp11-aout target does not support gdb, gdbserver, gprof

2020-04-17 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25830 --- Comment #4 from Stephen Casner --- Corrected patch request: https://sourceware.org/pipermail/binutils/2020-April/110709.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/18963] Addition is not commutative

2020-04-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18963 --- Comment #13 from Stephen Casner --- Created attachment 12474 --> https://sourceware.org/bugzilla/attachment.cgi?id=12474=edit Revised patch Now I'm doubly sorry because I made this solution harder than necessary for myself as well as

[Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout

2020-04-20 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25829 --- Comment #2 from Stephen Casner --- Does this patch also cause some of the other targets' testsuites to fail? Scaling addresses down should not cause a problem, but if support for .dc.a is not universal that could be a problem. -- You

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-04-09 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #13 from Stephen Casner --- (In reply to Nick Clifton from comment #12) > You appear to be submitting the same patch as Jan... :-) > > The patch has the same problem as outlined here: > >

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-04-04 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #8 from Stephen Casner --- (In reply to Nick Clifton from comment #5) > The important issue is the extract symbols failure in the script.exp tests: > > Running ../../ld/testsuite/ld-scripts/script.exp ... > [...] >

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-04-05 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #9 from Stephen Casner --- Another solution, perhaps the most straightforwad one, would be to change the code in adjust_o_magic() to not pad the size of the data section if the size of the bss section is zero. -- You are

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-03-27 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #2 from Stephen Casner --- I could use some guidance regarding running the testsuite. After reading the binutils porting document I have installed dejagnu, but I don't know what information is needed in the global config, for

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-03-28 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #4 from Stephen Casner --- Created attachment 12414 --> https://sourceware.org/bugzilla/attachment.cgi?id=12414=edit ld make check summary log -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-03-28 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #3 from Stephen Casner --- Created attachment 12412 --> https://sourceware.org/bugzilla/attachment.cgi?id=12412=edit make check summary log I should add that I did run "make check" without any other preparation with the results

[Bug ld/25677] Changes to --*magic options for pdp11-aout target

2020-03-30 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25677 --- Comment #6 from Stephen Casner --- The key point I did not know is that failures were expected. I have been studying the detail log and the test scripts (I have programmed in Tcl, but it was about 30 years ago) to see why FAIL: extract

[Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout

2020-04-21 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=25829 --- Comment #5 from Stephen Casner --- Created attachment 12486 --> https://sourceware.org/bugzilla/attachment.cgi?id=12486=edit Additional patch for mingw and cygwin The idiom of the tail wagging the dog comes to mind here. I was just

[Bug gas/26001] PDP11 gas confuses register names and symbols

2020-05-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 --- Comment #1 from Stephen Casner --- Created attachment 12550 --> https://sourceware.org/bugzilla/attachment.cgi?id=12550=edit Patch for the bug This patch fixes the bug, but I need to add a test case and change logs. -- You are

[Bug gas/26001] PDP11 gas confuses register names and symbols

2020-05-16 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 Stephen Casner changed: What|Removed |Added Target||pdp11-aout -- You are receiving

[Bug gas/26001] New: PDP11 gas confuses register names and symbols

2020-05-16 Thread casner at acm dot org
Component: gas Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Attempting to assemble the instruction jsr pc,sprintf results in error message "Too many operands". This occurs because "sp" is inter

[Bug gas/26001] PDP11 gas confuses register names and symbols

2020-05-17 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 Stephen Casner changed: What|Removed |Added Assignee|unassigned at sourceware dot org |casner at acm dot org

[Bug gas/26001] PDP11 gas confuses register names and symbols

2020-05-27 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26001 Stephen Casner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libctf/27297] libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-01-31 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27297 --- Comment #2 from Stephen Casner --- git bisect finds this is the commit where the problem began: commit 1038406a8f6609ad0a449746da70393b0835f699 Author: Nick Alcock Date: Tue Jan 5 13:25:56 2021 + libctf: rip out

[Bug libctf/27297] libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-01-31 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27297 Stephen Casner changed: What|Removed |Added Attachment #13183|tarball of possibly |tarball of possibly

[Bug libctf/27297] New: libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-01-30 Thread casner at acm dot org
Priority: P2 Component: libctf Assignee: unassigned at sourceware dot org Reporter: casner at acm dot org Target Milestone: --- Created attachment 13182 --> https://sourceware.org/bugzilla/attachment.cgi?id=13182=edit 2.36 build log I first encountered this prob

[Bug libctf/27297] libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-01-30 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27297 Stephen Casner changed: What|Removed |Added Host||x86_64-apple-darwin18.7.0

[Bug libctf/27297] libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-01-30 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27297 --- Comment #1 from Stephen Casner --- Created attachment 13183 --> https://sourceware.org/bugzilla/attachment.cgi?id=13183=edit tarball of possibly relevant configs, MakefilesAdded tarball of these files. Let me know if any others would

[Bug libctf/27297] libctf.a malformed, build fails on x86_64-apple-darwin18.7.0

2021-02-10 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27297 --- Comment #4 from Stephen Casner --- Bug 27360 appears to be related, but I'm not sure if they can be called duplicates. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug libctf/27360] libctf.so.0: undefined symbol: bsearch_r

2021-02-10 Thread casner at acm dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27360 Stephen Casner changed: What|Removed |Added CC||casner at acm dot org --- Comment