| Summary: | [patch] Assembler syntax fixes for the boot programs. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | sepotvin <sepotvin> | ||||||
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | 4.0-CURRENT | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
State Changed From-To: open->closed Wish I had seen this earlier. Not all of these changes were applicable to binutils 2.9.1 as gas(1) was badly broken in that version. However, with the import of the new 2.10 version of gas(1), patches containing these changes and many others have been applied. Thanks. |
Various assembler fixes for the boot programs. These were discovered by binutils-2.9.5 Fix: main: cld # String ops inc xorl %ecx,%ecx # Zero ! movl %cx,%es # Address ! movl %cx,%ds # data ! movl %cx,%ss # Set up movwir(start,_sp) # stack movl %esp,%esi # Source movwir(MEM_REL,_di) # Destination --- 60,68 ---- main: cld # String ops inc xorl %ecx,%ecx # Zero ! movl %ecx,%es # Address ! movl %ecx,%ds # data ! movl %ecx,%ss # Set up movwir(start,_sp) # stack movl %esp,%esi # Source movwir(MEM_REL,_di) # Destination