Skip to content

Conversation

@komh
Copy link
Contributor

@komh komh commented Nov 26, 2024

Obj2 is an obj variation for OS/2.

Obj2 has the following differences from obj.

  1. Default attributes for a segment are ALIGN=16 and USE32.
  2. Add a segment to FLAT group implicitly if 32-bit segment.
  3. Recognize Unix sections .text, .rodata, .data and .bss as TEXT32, CONST32, DATA32 and BSS32 respectively for compatibility with other Unix platforms.
  4. Set default classes implicitly for known segments such as TEXT32, CONST32, DATA32, BSS32 and so on.

@hpax
Copy link
Member

hpax commented Oct 3, 2025

This is nice, but I really won't be able to merge it unless there is documentation for it as well.

komh added 2 commits October 4, 2025 20:03
Obj2 is an obj variation for OS/2.

Obj2 has the following differences from obj.

1. Default attributes for a segment are ALIGN=16 and USE32.
2. Add a segment to FLAT group implicitly if 32-bit segment.
3. Recognize Unix sections .text, .rodata, .data and .bss as TEXT32,
   CONST32, DATA32 and BSS32 respectively for compatibility with other
   Unix platforms.
4. Set default classes implicitly for known segments such as TEXT32,
   CONST32, DATA32, BSS32 and so on.

Signed-off-by: KO Myung-Hun <komh78@gmail.com>
Signed-off-by: KO Myung-Hun <komh78@gmail.com>
@komh
Copy link
Contributor Author

komh commented Oct 4, 2025

I've added documentation. Any others are necessary ?

@hpax
Copy link
Member

hpax commented Oct 6, 2025

Merged for 3.01

@hpax hpax closed this Oct 6, 2025
@komh komh deleted the obj2 branch October 8, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants