Talk:OS/360 Object File Format
![]() | Computing Stub‑class | |||||||||
|
Excuse Me?
How is this EVEN a stub!?, it should be Somewhere higher than that. --StaleGuy22 (talk) 21:05, 1 July 2020 (UTC)
relocation
While the common use of the format is for relocatable object programs meant for the linker or loader, assemblers also have the ability to generate absolute addresses. An origin can be given, and addresses will start there. One place where this is used is in the IPL code. Another is for stand-alone programs run without any OS help. Gah4 (talk) 22:10, 1 July 2020 (UTC)
List of weaknesses
Here are my thoughts on the “weaknesses” mentioned in the article. Many of them seem to be dtrawmen, given that this is an assembler language and no an HLL.
- alignment cannot be specified.
- What does this mean? CSECTs are always aligned.
- a reentrant module (as opposed to one merely read-only) cannot be specified.
- True, but the link editor allows RENT
- cannot distinguish between a subroutine (a routine that handles data only through arguments) vs. a function (a routine that returns data through a return value).
- This seems outside the scope of an object language.
- address constants can't be identified as pointers (such as for access to a data structure) as opposed to, say, access to a table (that is not changed) or to a virtual method in a dynamic record.
- I’ll leave this to others to comment, but I can’t see that anyone cares about this.
- no means to allow procedures or functions to check or validate argument types or validate external structures.
- This seems to be outside the scope of an object language. There are conventions that can do this if needed.
- no means to declare an object, where part of the structure is data and part is code (methods that operates upon the data of the object).
- This can easily be done.
I think that if we’re talking about weaknesses we need to compare apples and apples. I’m familiar with a bunch of object languages and it seems (from my limited knowledge) that, except tor long names, IBM object code does just about everything that the others do. Peter Flass (talk) 03:31, 27 October 2022 (UTC)